Guido van Rossum wrote: >>Currently pprint refuses to prettyprint subclasses of list, >>tuple and dict. Does it make sense to change that for 2.4? >> >>Of course once __repr__() is overwritten by a subclass, >>pprint has to use that instead of its own formatting. > > > Sounds like a good plan. Do you have a suggested patch? Not yet, but Fred seems to have one. Bye, Walter Dörwald
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4