diff options
author | Raymond Hettinger <python@rcn.com> | 2008-02-15 21:21:25 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-02-15 21:21:25 (GMT) |
commit | e9b9b35931c72c6c27e87c1b40ff08903395ce89 (patch) | |
tree | a00f80bb1c7d969ab440f425adb043c8e7752ae9 /Doc/whatsnew | |
parent | 04735179f03520c16def5cc6198c51b5059eca23 (diff) | |
download | cpython-e9b9b35931c72c6c27e87c1b40ff08903395ce89.zip cpython-e9b9b35931c72c6c27e87c1b40ff08903395ce89.tar.gz cpython-e9b9b35931c72c6c27e87c1b40ff08903395ce89.tar.bz2 |
Update example to match the current syntax.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/2.6.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index d37c5ac..dae9b09 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -825,7 +825,7 @@ complete list of changes, or look through the CVS logs for all the details. 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) |