mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
GH-90699: use statically allocated interned strings in typeobject's slotdefs (GH-94706)
This commit is contained in:
parent
b65686c505
commit
4e4bfffe2d
5 changed files with 140 additions and 176 deletions
|
@ -695,11 +695,6 @@ pycore_init_types(PyInterpreterState *interp)
|
|||
{
|
||||
PyStatus status;
|
||||
|
||||
status = _PyTypes_InitState(interp);
|
||||
if (_PyStatus_EXCEPTION(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
status = _PyTypes_InitTypes(interp);
|
||||
if (_PyStatus_EXCEPTION(status)) {
|
||||
return status;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue