File tree 2 files changed +4
-6
lines changed
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 *);
442
442
extern int _PyObject_GetMethod (PyObject * obj , PyObject * name , PyObject * * method );
443
443
extern PyObject * _PyObject_NextNotImplemented (PyObject * );
444
444
445
+ // Pickle support.
446
+ // Export for '_datetime' shared extension
447
+ PyAPI_FUNC (PyObject * ) _PyObject_GetState (PyObject * );
448
+
445
449
/* C function call trampolines to mitigate bad function pointer casts.
446
450
*
447
451
* 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 *);
437
437
*/
438
438
PyAPI_FUNC (PyObject * ) PyObject_Dir (PyObject * );
439
439
440
- /* Pickle support. */
441
- #ifndef Py_LIMITED_API
442
- PyAPI_FUNC (PyObject * ) _PyObject_GetState (PyObject * );
443
- #endif
444
-
445
-
446
440
/* Helpers for printing recursive container types */
447
441
PyAPI_FUNC (int ) Py_ReprEnter (PyObject * );
448
442
PyAPI_FUNC (void ) Py_ReprLeave (PyObject * );
You can’t perform that action at this time.
0 commit comments