diff options
author | Guido van Rossum <guido@python.org> | 1998-04-10 22:32:24 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-04-10 22:32:24 (GMT) |
commit | 26d4ac30be9b17aa8fa6e553e2c19e3536d2340f (patch) | |
tree | c9c22f9aa52359c33bec75dd85df4c578604758a /Include/object.h | |
parent | 730806d3d9bd8c54466e4a864b2b1f94df4413d2 (diff) | |
download | cpython-26d4ac30be9b17aa8fa6e553e2c19e3536d2340f.zip cpython-26d4ac30be9b17aa8fa6e553e2c19e3536d2340f.tar.gz cpython-26d4ac30be9b17aa8fa6e553e2c19e3536d2340f.tar.bz2 |
Add prototypes for Py_Repr{Enter,Leave}.
(Jeremy will hardly recognize his patch :-)
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 18cca9f..78a56d6 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. */ |