Skip to content

Commit 8699aea

Browse files
committed
The key-value pairs can be lists or tuples or any iterable.
1 parent 2c86004 commit 8699aea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/tutorial/datastructures.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ Here is a small example using a dictionary::
466466
False
467467

468468
The :func:`dict` constructor builds dictionaries directly from sequences of
469-
key-value pairs stored as tuples. ::
469+
key-value pairs::
470470

471471
>>> dict([('sape', 4139), ('guido', 4127), ('jack', 4098)])
472472
{'sape': 4139, 'jack': 4098, 'guido': 4127}

0 commit comments

Comments
 (0)