diff --git a/CHANGES b/CHANGES index f4c698432..5d721cf7f 100644 --- a/CHANGES +++ b/CHANGES @@ -16,6 +16,8 @@ Features added Bugs fixed ---------- +* #9189: autodoc: crashed when ValueError is raised on generating signature + from a property of the class * #9188: autosummary: warning is emitted if list value is set to autosummary_generate diff --git a/sphinx/ext/autodoc/__init__.py b/sphinx/ext/autodoc/__init__.py index c92709deb..de94ff1c5 100644 --- a/sphinx/ext/autodoc/__init__.py +++ b/sphinx/ext/autodoc/__init__.py @@ -2570,7 +2570,7 @@ class PropertyDocumenter(DocstringStripSignatureMixin, ClassLevelDocumenter): # self.fullname, exc) return None except ValueError: - raise + return None class NewTypeAttributeDocumenter(AttributeDocumenter):