diff options
Diffstat (limited to 'Include/object.h')
-rw-r--r-- | Include/object.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/object.h b/Include/object.h index 18cca9f4d4..78a56d6796 100644 --- a/Include/object.h +++ b/Include/object.h @@ -276,6 +276,10 @@ extern int PyCallable_Check Py_PROTO((PyObject *)); extern int PyNumber_Coerce Py_PROTO((PyObject **, PyObject **)); extern int PyNumber_CoerceEx Py_PROTO((PyObject **, PyObject **)); +/* Helpers for printing recursive container types */ +extern int Py_ReprEnter Py_PROTO((PyObject *)); +extern void Py_ReprLeave Py_PROTO((PyObject *)); + /* Flag bits for printing: */ #define Py_PRINT_RAW 1 /* No string quotes etc. */ |