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 8f0672b commit 5d14d2bCopy full SHA for 5d14d2b
Doc/c-api/type.rst
@@ -138,7 +138,11 @@ Type Objects
138
Return non-zero if the type object *type* sets the subclass flag *flag*.
139
Subclass flags are denoted by
140
:c:macro:`Py_TPFLAGS_*_SUBCLASS <Py_TPFLAGS_LONG_SUBCLASS>`.
141
- This function is used by most ``_Check`` functions.
+ This function is used by many ``_Check`` functions for common types.
142
+
143
+ .. seealso::
144
+ :c:func:`PyObject_TypeCheck`, which is used as a slower alternative in
145
+ ``_Check`` functions for types that don't come with subclass flags.
146
147
148
.. c:function:: int PyType_IS_GC(PyTypeObject *o)
0 commit comments