From 9ba01b6b80a96c17967560338352516b5aafff28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sun, 24 Feb 2019 03:47:28 +0100 Subject: [PATCH] Dict --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8701be0..3124c0e 100644 --- a/README.md +++ b/README.md @@ -71,9 +71,9 @@ value = .setdefault(key, default=None) # Same, but also adds default to ```python .update() # Or: dict_a = {**dict_a, **dict_b}. - = dict() # Initiates a dict from list of key-value pairs. - = dict(zip(keys, values)) # Initiates a dict from two lists. - = dict.fromkeys(keys [, value]) # Initiates a dict from list of keys. + = dict() # Initiates a dict from coll. of key-value pairs. + = dict(zip(keys, values)) # Initiates a dict from two collections. + = dict.fromkeys(keys [, value]) # Initiates a dict from collection of keys. ``` ```python