Revert "bpo-46131: add fastpath for PyFloat_Check() (GH-30200)" (GH-30208)

This reverts commit 2ef06d4125.
This commit is contained in:
Raymond Hettinger 2021-12-19 15:05:46 -06:00 committed by GitHub
parent 2ef06d4125
commit 29ea68bd1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 0 additions and 23 deletions

View file

@ -1959,7 +1959,6 @@ PyTypeObject PyFloat_Type = {
0, /* tp_setattro */
0, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE |
Py_TPFLAGS_FLOAT_SUBCLASS |
_Py_TPFLAGS_MATCH_SELF, /* tp_flags */
float_new__doc__, /* tp_doc */
0, /* tp_traverse */