File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2411,7 +2411,7 @@ PyType_FromSpecWithBases(PyType_Spec *spec, PyObject *bases)
24112411 char * s ;
24122412 char * res_start = (char * )res ;
24132413 PyType_Slot * slot ;
2414-
2414+
24152415 /* Set the type name and qualname */
24162416 s = strrchr (spec -> name , '.' );
24172417 if (s == NULL )
@@ -2432,7 +2432,7 @@ PyType_FromSpecWithBases(PyType_Spec *spec, PyObject *bases)
24322432 type -> tp_name = spec -> name ;
24332433 if (!type -> tp_name )
24342434 goto fail ;
2435-
2435+
24362436 /* Adjust for empty tuple bases */
24372437 if (!bases ) {
24382438 base = & PyBaseObject_Type ;
@@ -2516,7 +2516,7 @@ PyType_FromSpecWithBases(PyType_Spec *spec, PyObject *bases)
25162516 /* Set type.__module__ */
25172517 s = strrchr (spec -> name , '.' );
25182518 if (s != NULL )
2519- _PyDict_SetItemId (type -> tp_dict , & PyId___module__ ,
2519+ _PyDict_SetItemId (type -> tp_dict , & PyId___module__ ,
25202520 PyUnicode_FromStringAndSize (
25212521 spec -> name , (Py_ssize_t )(s - spec -> name )));
25222522
You can’t perform that action at this time.
0 commit comments