PY-17657 If docstring format contains both tags and sections, tags are stronger heuristic
authorMikhail Golubev <mikhail.golubev@jetbrains.com>
Mon, 16 Nov 2015 12:16:01 +0000 (15:16 +0300)
committerMikhail Golubev <mikhail.golubev@jetbrains.com>
Mon, 16 Nov 2015 12:16:01 +0000 (15:16 +0300)
commitf668f22cbf31af24d97994e1ea062f67cd24e406
tree022268ec9f992bef916485c3aadd125fdb28968b
parent0e887a6c6e4e1ce08ceb6cad5e2a802f977ebfed
PY-17657 If docstring format contains both tags and sections, tags are stronger heuristic

Otherwise any reStructuredText/Epydoc docstring that contains
text, like "Example:" or "Args:", is incorrectly interpreted as Google
Code Style docstring and then wrong format breaks parsing of parameter
declaration and type references inside.
python/src/com/jetbrains/python/documentation/docstrings/DocStringUtil.java
python/testSrc/com/jetbrains/python/PySectionBasedDocStringTest.java