summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2021-12-19 20:24:30 (GMT)
committerGitHub <noreply@github.com>2021-12-19 20:24:30 (GMT)
commit2ef06d412531d1163dbc72877c88aedf3ed82a25 (patch)
tree9a8a1f60d82447795da0345c00e561c15448cd1b /Include/object.h
parentaeb9ef4c7287fe367b6e9adcf1c5f994d5bc1a09 (diff)
downloadcpython-2ef06d412531d1163dbc72877c88aedf3ed82a25.zip
cpython-2ef06d412531d1163dbc72877c88aedf3ed82a25.tar.gz
cpython-2ef06d412531d1163dbc72877c88aedf3ed82a25.tar.bz2
bpo-46131: add fastpath for PyFloat_Check() (#30200)
Diffstat (limited to 'Include/object.h')
-rw-r--r--Include/object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/object.h b/Include/object.h
index e5544e8..ee817a5 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -397,6 +397,7 @@ given type object has a specified feature.
#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
/* These flags are used to determine if a type is a subclass. */
+#define Py_TPFLAGS_FLOAT_SUBCLASS (1UL << 23)
#define Py_TPFLAGS_LONG_SUBCLASS (1UL << 24)
#define Py_TPFLAGS_LIST_SUBCLASS (1UL << 25)
#define Py_TPFLAGS_TUPLE_SUBCLASS (1UL << 26)