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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy