Merge branch '4.0.x' into 9188_warning_for_autosummary_generate

This commit is contained in:
Takeshi KOMIYA 2021-05-10 23:33:48 +09:00 committed by GitHub
commit 88ef2b3b39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,8 @@ Features added
Bugs fixed 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 * #9188: autosummary: warning is emitted if list value is set to
autosummary_generate autosummary_generate

View File

@ -2570,7 +2570,7 @@ class PropertyDocumenter(DocstringStripSignatureMixin, ClassLevelDocumenter): #
self.fullname, exc) self.fullname, exc)
return None return None
except ValueError: except ValueError:
raise return None
class NewTypeAttributeDocumenter(AttributeDocumenter): class NewTypeAttributeDocumenter(AttributeDocumenter):