summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2009-09-13 04:48:45 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2009-09-13 04:48:45 (GMT)
commit8f7649eae4194c3ed5407714300a1da1daf8bee0 (patch)
tree8c37d96adae2e33a8ed09d2dc885e93089a462b7 /Doc/library/collections.rst
parent6aa7c8ce3ce0ef942956ee4cf3563082d53f0d75 (diff)
downloadcpython-8f7649eae4194c3ed5407714300a1da1daf8bee0.zip
cpython-8f7649eae4194c3ed5407714300a1da1daf8bee0.tar.gz
cpython-8f7649eae4194c3ed5407714300a1da1daf8bee0.tar.bz2
more list()s on dictviews
Diffstat (limited to 'Doc/library/collections.rst')
-rw-r--r--Doc/library/collections.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index d7907b0..cd38956 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -669,7 +669,7 @@ Example:
'Return a new Point object replacing specified fields with new values'
result = _self._make(map(kwds.pop, ('x', 'y'), _self))
if kwds:
- raise ValueError('Got unexpected field names: %r' % kwds.keys())
+ raise ValueError('Got unexpected field names: %r' % list(kwds.keys()))
return result
<BLANKLINE>
def __getnewargs__(self):