Files
openide/python/testData/resolve/GoogleDocstringModuleAttribute.py
Mikhail Golubev bee4d5b022 PY-16906 Resolve references to global variables in module-level docstrings
Because DocStringParameterReference doesn't implement
PsiPolyVariantReference I had to adjust helper methods like
PyResolveTestCase#findReferenceByMarker and
PyMultiFileResolveTestCase#doResolve in resolve
tests to handle normal PsiReference reference under cursor.
2015-11-11 14:43:07 +03:00

10 lines
281 B
Python

"""Attributes:
module_level_variable1 (int): Module level variables may be documented in
<ref>
either the ``Attributes`` section of the module docstring, or in an
inline docstring immediately following the variable.
"""
module_level_variable1 = 12345