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 03f35d8 commit 83b0b78Copy full SHA for 83b0b78
Doc/c-api/object.rst
@@ -47,9 +47,8 @@ Object Protocol
47
48
.. c:function:: int PyObject_HasAttr(PyObject *o, PyObject *attr_name)
49
50
- Returns ``1`` if *o* has the attribute *attr_name*, and ``0`` otherwise. This
51
- is equivalent to the Python expression ``hasattr(o, attr_name)``. This function
52
- always succeeds.
+ Returns ``1`` if *o* has the attribute *attr_name*, and ``0`` otherwise.
+ This function always succeeds.
53
54
.. note::
55
0 commit comments