From e9b9b35931c72c6c27e87c1b40ff08903395ce89 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Fri, 15 Feb 2008 21:21:25 +0000 Subject: Update example to match the current syntax. --- Doc/whatsnew/2.6.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12