mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #9190 from tk0miya/9189_ValueError_for_property
Fix #9189: autodoc: crashed by ValueError on generating signature of property
This commit is contained in:
commit
7c16981f67
3
CHANGES
3
CHANGES
@ -16,6 +16,9 @@ Features added
|
||||
Bugs fixed
|
||||
----------
|
||||
|
||||
* #9189: autodoc: crashed when ValueError is raised on generating signature
|
||||
from a property of the class
|
||||
|
||||
Testing
|
||||
--------
|
||||
|
||||
|
@ -2570,7 +2570,7 @@ class PropertyDocumenter(DocstringStripSignatureMixin, ClassLevelDocumenter): #
|
||||
self.fullname, exc)
|
||||
return None
|
||||
except ValueError:
|
||||
raise
|
||||
return None
|
||||
|
||||
|
||||
class NewTypeAttributeDocumenter(AttributeDocumenter):
|
||||
|
Loading…
Reference in New Issue
Block a user