diff --git a/README.md b/README.md index 5cf9495..25c4a1b 100644 --- a/README.md +++ b/README.md @@ -590,7 +590,7 @@ def get_multiplier(a): * **If multiple nested functions within enclosing function reference the same value, that value gets shared.** * **To dynamically access function's first free variable use `'.__closure__[0].cell_contents'`.** -#### Or: +### Partial ```python from functools import partial = partial(, [, , ...]) @@ -1072,7 +1072,7 @@ import json = json.loads() ``` -#### To preserve order: +#### To preserve order use: ```python from collections import OrderedDict = json.loads(, object_pairs_hook=OrderedDict)