Skip to content

Commit 1755086

Browse files
committed
Operator
1 parent 445a6b2 commit 1755086

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,8 +1077,7 @@ from operator import add, sub, mul, truediv, floordiv, mod, pow, neg, abs, \
10771077
```
10781078

10791079
```python
1080-
from functools import reduce
1081-
product_of_elems = reduce(mul, <list>)
1080+
product_of_elems = functools.reduce(mul, <list>)
10821081
sorted_by_second = sorted(<list>, key=itemgetter(1))
10831082
sorted_by_both = sorted(<list>, key=itemgetter(0, 1))
10841083
```

0 commit comments

Comments
 (0)