[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>
<http://bugs.python.org/issue8753>
_______________________________________


More information about the Python-bugs-list mailing list