Skip to content
Prev Previous commit
Next Next commit
caution rather than note
ironically stands out less than note, but the bold caution: is still sufficient and better than what we had.  warning would stand out too much.

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
  • Loading branch information
gpshead and CAM-Gerlach authored Jun 24, 2023
commit 8c15463d313f5011326f087fda0679a048a9c63f
2 changes: 1 addition & 1 deletion Doc/c-api/object.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Object Protocol
is equivalent to the Python expression ``hasattr(o, attr_name)``. This function
always succeeds.

.. note::
.. caution::

Exceptions that occur when this calls :meth:`__getattr__` and
Comment thread
gpshead marked this conversation as resolved.
Outdated
:meth:`__getattribute__` methods are silently ignored.
Comment thread
gpshead marked this conversation as resolved.
Outdated
Expand Down