[Python-checkins] python/dist/src/Misc NEWS,1.906,1.907

doerwalter at users.sourceforge.net doerwalter at users.sourceforge.net
Wed Dec 3 15:26:07 EST 2003


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv14858/Misc

Modified Files:
	NEWS 
Log Message:
Add parameters indent, width and depth to pprint.pprint() and pprint.pformat()
and pass them along to the PrettyPrinter constructor.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.906
retrieving revision 1.907
diff -C2 -d -r1.906 -r1.907
*** NEWS	3 Dec 2003 20:14:12 -0000	1.906
--- NEWS	3 Dec 2003 20:26:04 -0000	1.907
***************
*** 171,174 ****
--- 171,177 ----
  -------
  
+ - pprint.pprint() and pprint.pformat() now have additional parameters
+   indent, width and depth.
+ 
  - Patch #750542: pprint now will pretty print subclasses of list, tuple
    and dict too, as long as they don't overwrite __repr__().





More information about the Python-checkins mailing list