Skip to content

Commit fefca54

Browse files
committed
Remove incorrect note about map.
1 parent 4473bb3 commit fefca54

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lambdas.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ they are used in the wild:
3232
a.sort(key=lambda x: x[1])
3333
3434
print(a)
35-
# Output: [(13, -3), (4, 1), (1, 2), (9, 10)]
35+
# Output: [(13, -3), (4, 1), (1, 2), (9, 10)]
3636
3737
**Parallel sorting of lists**
3838

@@ -41,5 +41,3 @@ they are used in the wild:
4141
data = zip(list1, list2)
4242
data.sort()
4343
list1, list2 = map(lambda t: list(t), zip(*data))
44-
45-
Note: We will learn about map in a later chapter so don't worry!

0 commit comments

Comments
 (0)