Skip to content

Commit 1e1e60d

Browse files
committed
Add regression test of invalid-sequence-index false-positive
Ref #4083
1 parent 95c05e0 commit 1e1e60d

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)