diff -r bb6eaf58a856 -r ed0ee1b5343c python.rst --- a/python.rst Tue Feb 07 10:39:24 2012 +0200 +++ b/python.rst Tue Feb 07 11:04:34 2012 +0200 @@ -64,3 +64,17 @@ http://pychecker.sourceforge.net/ +Debugging Python code. +====================== + +Pretty print under Python. +-------------------------- +:: + + import pprint + print(pprint.pformat('string')) + print(pprint.pformat(['1', '2'])) + + http://docs.python.org/library/pprint.html + Doc page. +