Support type comments in `PropertyDocumenter` (#11298)

This commit is contained in:
picnixz
2023-04-06 23:56:17 +02:00
committed by GitHub
parent 26eb2ef7c4
commit aba392d87f
7 changed files with 115 additions and 23 deletions

View File

@@ -1089,6 +1089,11 @@ def test_autodoc_cached_property(app):
' :module: target.cached_property',
' :type: int',
'',
'',
' .. py:property:: Foo.prop_with_type_comment',
' :module: target.cached_property',
' :type: int',
'',
]