Thanks to visit codestin.com Credit goes to github.com
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.
2 parents c53bc48 + a920b6d commit 4ae7839Copy full SHA for 4ae7839
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