Skip to content

Commit 8c91e9e

Browse files
nelfinPierre-Sassoulas
authored andcommitted
Add regression test of invalid-sequence-index false-positive
Ref pylint-dev#4083
1 parent 40f50af commit 8c91e9e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# pylint: disable=missing-docstring,redefined-builtin
2+
3+
def func(type):
4+
return ['one'][type]

0 commit comments

Comments
 (0)