File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -442,6 +442,10 @@ extern int _PyObject_IsAbstract(PyObject *);
442442extern int _PyObject_GetMethod (PyObject * obj , PyObject * name , PyObject * * method );
443443extern PyObject * _PyObject_NextNotImplemented (PyObject * );
444444
445+ // Pickle support.
446+ // Export for '_datetime' shared extension
447+ PyAPI_FUNC (PyObject * ) _PyObject_GetState (PyObject * );
448+
445449/* C function call trampolines to mitigate bad function pointer casts.
446450 *
447451 * Typical native ABIs ignore additional arguments or fill in missing
Original file line number Diff line number Diff line change @@ -437,12 +437,6 @@ PyAPI_FUNC(void) PyObject_ClearWeakRefs(PyObject *);
437437*/
438438PyAPI_FUNC (PyObject * ) PyObject_Dir (PyObject * );
439439
440- /* Pickle support. */
441- #ifndef Py_LIMITED_API
442- PyAPI_FUNC (PyObject * ) _PyObject_GetState (PyObject * );
443- #endif
444-
445-
446440/* Helpers for printing recursive container types */
447441PyAPI_FUNC (int ) Py_ReprEnter (PyObject * );
448442PyAPI_FUNC (void ) Py_ReprLeave (PyObject * );
You can’t perform that action at this time.
0 commit comments