summaryrefslogtreecommitdiff
path: root/testsuite/E74.py
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2022-11-21 13:51:42 -0500
committerAnthony Sottile <asottile@umich.edu>2022-11-21 13:53:52 -0500
commit56dac1348f44d2e1f0bca085d415658cd3ee9874 (patch)
treee2c6bef6b70f8b50d0d53054b2f3626281d66bca /testsuite/E74.py
parent6cac99dc19fbecbb64b9aba7498118c9a6b70d07 (diff)
downloadpep8-56dac1348f44d2e1f0bca085d415658cd3ee9874.tar.gz
fix reporting of ambiguous identifier after parameter list
Diffstat (limited to 'testsuite/E74.py')
-rw-r--r--testsuite/E74.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/E74.py b/testsuite/E74.py
new file mode 100644
index 0000000..93d6c13
--- /dev/null
+++ b/testsuite/E74.py
@@ -0,0 +1,4 @@
+#: E741:1:8
+lambda l: dict(zip(l, range(len(l))))
+#: E741:1:7 E704:1:1
+def f(l): print(l, l, l)