Skip to content

Commit 3520514

Browse files
Remove dead tp_base code.
1 parent 9a3b1c2 commit 3520514

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Modules/_datetimemodule.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7327,8 +7327,6 @@ clear_state(datetime_state *st)
73277327
PyStatus
73287328
_PyDateTime_InitTypes(PyInterpreterState *interp)
73297329
{
7330-
PyDateTime_DateTimeType.tp_base = &PyDateTime_DateType;
7331-
73327330
/* Bases classes must be initialized before subclasses,
73337331
* so capi_types must have the types in the appropriate order. */
73347332
for (size_t i = 0; i < Py_ARRAY_LENGTH(capi_types); i++) {

0 commit comments

Comments
 (0)