8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3be6f9 commit c82fc4bCopy full SHA for c82fc4b
Doc/c-api/object.rst
@@ -111,7 +111,8 @@ Object Protocol
111
.. note::
112
113
Exceptions that occur when this calls :meth:`~object.__getattr__` and
114
- :meth:`~object.__getattribute__` methods are silently ignored.
+ :meth:`~object.__getattribute__` methods aren't propagated,
115
+ but instead given to :func:`sys.unraisablehook`.
116
For proper error handling, use :c:func:`PyObject_HasAttrWithError`,
117
:c:func:`PyObject_GetOptionalAttr` or :c:func:`PyObject_GetAttr` instead.
118
0 commit comments