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 1840e2b4136808cc1a1ba1ef88237246f8bcc845
2 changes: 1 addition & 1 deletion Doc/c-api/object.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,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:`~object.__getattr__` and
:meth:`~object.__getattribute__` methods or while creating the temporary :class:`str`
Expand Down