mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
backout 3c9512d8ac0d
This commit is contained in:
parent
338502b307
commit
c352620c92
3 changed files with 1 additions and 11 deletions
|
@ -6777,7 +6777,7 @@ update_one_slot(PyTypeObject *type, slotdef *p)
|
|||
sanity checks and constructing a new argument
|
||||
list. Cut all that nonsense short -- this speeds
|
||||
up instance creation tremendously. */
|
||||
specific = (void *)((PyTypeObject *)PyCFunction_GET_SELF(descr))->tp_new;
|
||||
specific = (void *)type->tp_new;
|
||||
/* XXX I'm not 100% sure that there isn't a hole
|
||||
in this reasoning that requires additional
|
||||
sanity checks. I'll buy the first person to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue