diff options
Diffstat (limited to 'checkers/typecheck.py')
-rw-r--r-- | checkers/typecheck.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/checkers/typecheck.py b/checkers/typecheck.py index fb9ed59..395e1b7 100644 --- a/checkers/typecheck.py +++ b/checkers/typecheck.py @@ -78,7 +78,8 @@ MSGS = { {'minversion': (3, 0)}), 'E1126': ('Sequence index is not an int, slice, or instance with __index__', 'invalid-sequence-index', - 'Used when a list is indexed with a non-integer type'), + 'Used when a sequence type is indexed with an invalid type. Valid \ + types are ints, slices, and objects with an __index__ method.'), 'E1127': ('Slice index is not an int, None, or instance with __index__', 'invalid-slice-index', 'Used when a slice index is not an integer, None, or an object \ |