We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb7e8f6 commit a920b6dCopy full SHA for a920b6d
1 file changed
Doc/c-api/type.rst
@@ -44,6 +44,7 @@ Type Objects
44
45
.. versionadded:: 3.2
46
47
+
48
.. c:function:: void PyType_Modified(PyTypeObject *type)
49
50
Invalidate the internal lookup cache for the type and all of its
@@ -67,6 +68,11 @@ Type Objects
67
68
69
Return true if *a* is a subtype of *b*.
70
71
+ This function only checks for actual subtypes, which means that
72
+ :meth:`~type.__subclasscheck__` is not called on *b*. Call
73
+ :c:func:`PyObject_IsSubclass` to do the same check that :func:`issubclass`
74
+ would do.
75
76
77
.. c:function:: PyObject* PyType_GenericAlloc(PyTypeObject *type, Py_ssize_t nitems)
78
0 commit comments