diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2021-12-19 15:05:46 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-19 15:05:46 -0600 |
commit | 29ea68bd1dcf30842c2ed908a6d815bc1d90f484 (patch) | |
tree | 2b3d8b3bc3945241cf44d936374f746ef2974a3a /Objects/floatobject.c | |
parent | 2ef06d412531d1163dbc72877c88aedf3ed82a25 (diff) | |
download | cpython-git-29ea68bd1dcf30842c2ed908a6d815bc1d90f484.tar.gz |
Revert "bpo-46131: add fastpath for PyFloat_Check() (GH-30200)" (GH-30208)
This reverts commit 2ef06d412531d1163dbc72877c88aedf3ed82a25.
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r-- | Objects/floatobject.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c index 37434f32bd..f8620d6f8e 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -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 */ |