Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: flake8-abp/tests/A104.py

Issue 29344615: Noissue - Allow calling map() with lambda and multiple sequences (Closed)
Patch Set: Created May 26, 2016, 2:49 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « flake8-abp/flake8_abp.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 import itertools 1 import itertools
2 from itertools import imap, ifilter 2 from itertools import imap, ifilter
3 3
4 # A104 4 # A104
5 map(lambda x: x, range(10)) 5 map(lambda x: x, range(10))
6 # A104 6 # A104
7 filter(lambda x: x, range(10)) 7 filter(lambda x: x, range(10))
8 # A104 8 # A104
9 imap(lambda x: x, range(10)) 9 imap(lambda x: x, range(10))
10 # A104 10 # A104
11 ifilter(lambda x: x, range(10)) 11 ifilter(lambda x: x, range(10))
12 # A104 12 # A104
13 itertools.imap(lambda x: x, range(10)) 13 itertools.imap(lambda x: x, range(10))
14 # A104 14 # A104
15 itertools.ifilter(lambda x: x, range(10)) 15 itertools.ifilter(lambda x: x, range(10))
16
17 map(lambda a, b: a or b, [0, 1], [2, 3])
OLDNEW
« no previous file with comments | « flake8-abp/flake8_abp.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld