[docs] [issue8753] Py_ReprEnter and Py_ReprLeave are undocumented

Antoine Pitrou report at bugs.python.org
Wed Dec 15 23:35:11 CET 2010

Antoine Pitrou <pitrou at free.fr> added the comment:

I think this is a bit misleading. These functions are only needed if you are implementing a container. For the general case where you don't display another Python object in your repr() (or you only display objects which are themselves atomic, such as strings and integers), these functions are not necessary.

nosy: +pitrou

Python tracker <report at bugs.python.org>

More information about the docs mailing list