summaryrefslogtreecommitdiff
path: root/Cython/Includes/cpython/type.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Includes/cpython/type.pxd')
-rw-r--r--Cython/Includes/cpython/type.pxd5
1 files changed, 5 insertions, 0 deletions
diff --git a/Cython/Includes/cpython/type.pxd b/Cython/Includes/cpython/type.pxd
index a1d094e37..928a748cd 100644
--- a/Cython/Includes/cpython/type.pxd
+++ b/Cython/Includes/cpython/type.pxd
@@ -23,6 +23,11 @@ cdef extern from "Python.h":
# of the standard type object. Return false in all other
# cases.
+ void PyType_Modified(type type)
+ # Invalidate the internal lookup cache for the type and all of its
+ # subtypes. This function must be called after any manual modification
+ # of the attributes or base classes of the type.
+
bint PyType_HasFeature(object o, int feature)
# Return true if the type object o sets the feature feature. Type
# features are denoted by single bit flags.