mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
bpo-46131: add fastpath for PyFloat_Check() (#30200)
This commit is contained in:
parent
aeb9ef4c72
commit
2ef06d4125
7 changed files with 23 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue