@@ -1409,7 +1409,7 @@ static PyNumberMethods none_as_number = {
14091409 0 , /* nb_index */
14101410};
14111411
1412- PyTypeObject PyNone_Type = {
1412+ PyTypeObject _PyNone_Type = {
14131413 PyVarObject_HEAD_INIT (& PyType_Type , 0 )
14141414 "NoneType" ,
14151415 0 ,
@@ -1452,7 +1452,7 @@ PyTypeObject PyNone_Type = {
14521452
14531453PyObject _Py_NoneStruct = {
14541454 _PyObject_EXTRA_INIT
1455- 1 , & PyNone_Type
1455+ 1 , & _PyNone_Type
14561456};
14571457
14581458/* NotImplemented is an object that can be used to signal that an
@@ -1494,7 +1494,7 @@ notimplemented_dealloc(PyObject* ignore)
14941494 Py_FatalError ("deallocating NotImplemented" );
14951495}
14961496
1497- PyTypeObject PyNotImplemented_Type = {
1497+ PyTypeObject _PyNotImplemented_Type = {
14981498 PyVarObject_HEAD_INIT (& PyType_Type , 0 )
14991499 "NotImplementedType" ,
15001500 0 ,
@@ -1537,7 +1537,7 @@ PyTypeObject PyNotImplemented_Type = {
15371537
15381538PyObject _Py_NotImplementedStruct = {
15391539 _PyObject_EXTRA_INIT
1540- 1 , & PyNotImplemented_Type
1540+ 1 , & _PyNotImplemented_Type
15411541};
15421542
15431543void
@@ -1567,10 +1567,10 @@ _Py_ReadyTypes(void)
15671567 if (PyType_Ready (& PyList_Type ) < 0 )
15681568 Py_FatalError ("Can't initialize list type" );
15691569
1570- if (PyType_Ready (& PyNone_Type ) < 0 )
1570+ if (PyType_Ready (& _PyNone_Type ) < 0 )
15711571 Py_FatalError ("Can't initialize None type" );
15721572
1573- if (PyType_Ready (& PyNotImplemented_Type ) < 0 )
1573+ if (PyType_Ready (& _PyNotImplemented_Type ) < 0 )
15741574 Py_FatalError ("Can't initialize NotImplemented type" );
15751575
15761576 if (PyType_Ready (& PyTraceBack_Type ) < 0 )
0 commit comments