diff options
author | David Shea <dshea@redhat.com> | 2014-07-07 10:00:29 -0400 |
---|---|---|
committer | David Shea <dshea@redhat.com> | 2014-07-07 10:00:29 -0400 |
commit | 9b46e20c59729b46135ce777c6b30a164927798a (patch) | |
tree | fee9ba7b18def31e7405c994c453449b5ea4555d /checkers | |
parent | 0cf699cb531782c51065e7da33ca06385216115c (diff) | |
download | pylint-9b46e20c59729b46135ce777c6b30a164927798a.tar.gz |
Expand the description for invalid-sequence-index to match the check.
Diffstat (limited to 'checkers')
-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 \ |