Skip to content

Commit a792e9d

Browse files
Use
1 parent 3efb9ca commit a792e9d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Include/internal/pycore_typeobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ extern int _PyType_Validate(PyTypeObject *ty, _py_validate_type validate, unsign
150150
extern int _PyType_CacheGetItemForSpecialization(PyHeapTypeObject *ht, PyObject *descriptor, uint32_t tp_version);
151151

152152
// Precalculates count of non-unique slots
153-
extern int _PyType_InitSlotDefsNameCounts(PyInterpreterState *interp);
153+
extern int _PyType_InitSlotDefs(PyInterpreterState *interp);
154154

155155
#ifdef __cplusplus
156156
}

Python/pylifecycle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ pycore_init_builtins(PyThreadState *tstate)
822822
}
823823
interp->callable_cache.object__getattribute__ = object__getattribute__;
824824

825-
if (_PyType_InitSlotDefsNameCounts(interp) < 0) {
825+
if (_PyType_InitSlotDefs(interp) < 0) {
826826
return _PyStatus_ERR("failed to precalculate slotdefs unique names");
827827
}
828828

0 commit comments

Comments
 (0)