diff options
Diffstat (limited to 'Include/object.h')
-rw-r--r-- | Include/object.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Include/object.h b/Include/object.h index 317515d..0b4b55e 100644 --- a/Include/object.h +++ b/Include/object.h @@ -299,6 +299,11 @@ PyAPI_FUNC(void) PyObject_ClearWeakRefs(PyObject *); */ PyAPI_FUNC(PyObject *) PyObject_Dir(PyObject *); +/* Pickle support. */ +#ifndef Py_LIMITED_API +PyAPI_FUNC(PyObject *) _PyObject_GetState(PyObject *); +#endif + /* Helpers for printing recursive container types */ PyAPI_FUNC(int) Py_ReprEnter(PyObject *); |