Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b8ab74

Browse files
committed
Don't inherit tp_new! This is a retraction of half of the previous
checkin. And since that one was, this one is also a: Bugfix candidate.
1 parent d1bfe5e commit 6b8ab74

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Objects/typeobject.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2024,7 +2024,6 @@ inherit_slots(PyTypeObject *type, PyTypeObject *base)
20242024
COPYSLOT(tp_init);
20252025
COPYSLOT(tp_alloc);
20262026
COPYSLOT(tp_free);
2027-
COPYSLOT(tp_new);
20282027
COPYSLOT(tp_is_gc);
20292028
}
20302029
}

0 commit comments

Comments
 (0)