Skip to content

Commit 15c7de7

Browse files
committed
Partial
1 parent c6f0df8 commit 15c7de7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,8 @@ from functools import partial
703703
```
704704

705705
```python
706-
>>> multiply_by_3 = partial(operator.mul, 3)
706+
>>> from operator import mul
707+
>>> multiply_by_3 = partial(mul, 3)
707708
>>> multiply_by_3(10)
708709
30
709710
```

0 commit comments

Comments
 (0)