mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Revert "bpo-46131: add fastpath for PyFloat_Check() (GH-30200)" (GH-30208)
This reverts commit 2ef06d4125.
This commit is contained in:
parent
2ef06d4125
commit
29ea68bd1d
7 changed files with 0 additions and 23 deletions
|
|
@ -14,8 +14,6 @@ extern "C" {
|
|||
PyAPI_DATA(PyTypeObject) PyFloat_Type;
|
||||
|
||||
#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
|
||||
#define PyFloat_Check(op) \
|
||||
PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_FLOAT_SUBCLASS)
|
||||
#define PyFloat_CheckExact(op) Py_IS_TYPE(op, &PyFloat_Type)
|
||||
|
||||
#ifdef Py_NAN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue