sphinx/tests/roots/test-ext-autodoc/target/properties.py
Takeshi KOMIYA 75f5122996 Fix #7383: autodoc: Support typehints for properties
py:property directive now outputs py:property directive to describe
its type annotation.
2021-03-13 22:51:46 +09:00

7 lines
97 B
Python

class Foo:
"""docstring"""
@property
def prop(self) -> int:
"""docstring"""