diff --git a/README.md b/README.md index 3909388..5f58833 100644 --- a/README.md +++ b/README.md @@ -65,15 +65,15 @@ Dictionary ```python value = .get(key, default=None) # Returns default if key does not exist. value = .setdefault(key, default=None) # Same, but also adds default to dict. - = collections.defaultdict() # Creates a dictionary with default value of type. - = collections.defaultdict(lambda: 1) # Creates a dictionary with default value 1. + = collections.defaultdict() # Creates a dict with default value of type. + = collections.defaultdict(lambda: 1) # Creates a dict with default value 1. ``` ```python .update() # Or: dict_a = {**dict_a, **dict_b}. - = 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. + = dict() # Inits a dict from coll. of key-value pairs. + = dict(zip(keys, values)) # Inits a dict from two collections. + = dict.fromkeys(keys [, value]) # Inits a dict from collection of keys. ``` ```python