[Python-checkins] r60840 - python/trunk/Doc/whatsnew/2.6.rst

raymond.hettinger python-checkins at python.org
Fri Feb 15 22:21:25 CET 2008


Author: raymond.hettinger
Date: Fri Feb 15 22:21:25 2008
New Revision: 60840

Modified:
   python/trunk/Doc/whatsnew/2.6.rst
Log:
Update example to match the current syntax.

Modified: python/trunk/Doc/whatsnew/2.6.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.6.rst	(original)
+++ python/trunk/Doc/whatsnew/2.6.rst	Fri Feb 15 22:21:25 2008
@@ -825,7 +825,7 @@
      int int
      >>> var._asdict()
      {'size': 4, 'type': 'int', 'id': 1, 'name': 'frequency'}
-     >>> v2 = var._replace('name', 'amplitude')
+     >>> v2 = var._replace(name='amplitude')
      >>> v2
      variable(id=1, name='amplitude', type='int', size=4)
 


More information about the Python-checkins mailing list