mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Support type comments in `PropertyDocumenter` (#11298)
This commit is contained in:
@@ -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',
|
||||
'',
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user