File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -377,9 +377,6 @@ PyAPI_FUNC(PyObject *) _PyObject_FunctionStr(PyObject *);
377
377
#endif
378
378
379
379
380
- PyAPI_DATA (PyTypeObject ) _PyNone_Type ;
381
- PyAPI_DATA (PyTypeObject ) _PyNotImplemented_Type ;
382
-
383
380
/* Maps Py_LT to Py_GT, ..., Py_GE to Py_LE.
384
381
* Defined in object.c.
385
382
*/
Original file line number Diff line number Diff line change @@ -438,6 +438,10 @@ extern PyObject* _PyCFunctionWithKeywords_TrampolineCall(
438
438
(meth)((self), (args), (kw))
439
439
#endif // __EMSCRIPTEN__ && PY_CALL_TRAMPOLINE
440
440
441
+ // _pickle shared extension uses _PyNone_Type and _PyNotImplemented_Type
442
+ PyAPI_DATA (PyTypeObject ) _PyNone_Type ;
443
+ PyAPI_DATA (PyTypeObject ) _PyNotImplemented_Type ;
444
+
441
445
#ifdef __cplusplus
442
446
}
443
447
#endif
Original file line number Diff line number Diff line change 12
12
#include "pycore_bytesobject.h" // _PyBytesWriter
13
13
#include "pycore_ceval.h" // _Py_EnterRecursiveCall()
14
14
#include "pycore_moduleobject.h" // _PyModule_GetState()
15
+ #include "pycore_object.h" // _PyNone_Type
15
16
#include "pycore_pystate.h" // _PyThreadState_GET()
16
17
#include "pycore_runtime.h" // _Py_ID()
17
18
#include "structmember.h" // PyMemberDef
You can’t perform that action at this time.
0 commit comments