]> granicus.if.org Git - python/commitdiff
The key-value pairs can be lists or tuples or any iterable.
authorRaymond Hettinger <python@rcn.com>
Tue, 16 Jun 2009 20:49:30 +0000 (20:49 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 16 Jun 2009 20:49:30 +0000 (20:49 +0000)
Doc/tutorial/datastructures.rst

index 58dd61473838aecb01164b88218ab607d5eed442..ef364b20f84a6a44f74ed120b6479c863d391fcb 100644 (file)
@@ -466,7 +466,7 @@ Here is a small example using a dictionary::
    False
 
 The :func:`dict` constructor builds dictionaries directly from sequences of
-key-value pairs stored as tuples. ::
+key-value pairs::
 
    >>> dict([('sape', 4139), ('guido', 4127), ('jack', 4098)])
    {'sape': 4139, 'jack': 4098, 'guido': 4127}