Message140432
Here’s a first draft at a patch. I’ve added a module-level print function and a PrettyPrinter.print method which does the real work.
The functions have a signature compatible with print, but I have changed one default value: sep defaults to ',\n', because I think that the output is more useful and more pleasing (otherwise you’d have strange-looking indentation with containers).
If this looks good, I’ll work on doc and tests. I guess I’ll reuse the helpers in test_print. |
|
Date |
User |
Action |
Args |
2011-07-15 16:00:09 | eric.araujo | set | recipients:
+ eric.araujo, amaury.forgeotdarc, marystern, serprex |
2011-07-15 16:00:09 | eric.araujo | set | messageid: <1310745609.08.0.163229439202.issue6743@psf.upfronthosting.co.za> |
2011-07-15 16:00:08 | eric.araujo | link | issue6743 messages |
2011-07-15 16:00:08 | eric.araujo | create | |
|