diff --git a/README.md b/README.md index c2162ff..3804aa2 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ value = .setdefault(key, default) # Same, but also adds default to di ``` ```python -.update() +.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. @@ -1209,7 +1209,7 @@ def printer(): item = (yield) print(item) -reader(adder(printer())) +reader(adder(printer())) # 100, 101, ..., 109 ```

@@ -1223,8 +1223,8 @@ Plot # $ pip3 install matplotlib from matplotlib import pyplot pyplot.plot( [, , ...]) -pyplot.show() pyplot.savefig(, transparent=True) +pyplot.show() ```