Skip to content

Commit b06d454

Browse files
committed
Partial
1 parent d789a92 commit b06d454

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ def get_multiplier(a):
590590
* **If multiple nested functions within enclosing function reference the same value, that value gets shared.**
591591
* **To dynamically access function's first free variable use `'<function>.__closure__[0].cell_contents'`.**
592592

593-
#### Or:
593+
### Partial
594594
```python
595595
from functools import partial
596596
<function> = partial(<function>, <argument_1> [, <argument_2>, ...])
@@ -1072,7 +1072,7 @@ import json
10721072
<object> = json.loads(<str>)
10731073
```
10741074

1075-
#### To preserve order:
1075+
#### To preserve order use:
10761076
```python
10771077
from collections import OrderedDict
10781078
<object> = json.loads(<str>, object_pairs_hook=OrderedDict)

0 commit comments

Comments
 (0)