diff options
author | bluesheeptoken <louis.fruleux1@gmail.com> | 2019-03-19 08:13:53 +0000 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-03-19 09:13:53 +0100 |
commit | 60f39390d2079ea51b57d396276c0a06558f1dc9 (patch) | |
tree | 81977357c8412d8a87a2e0ab12a1dc6db64ad5be | |
parent | 40e8ef97b13c62e36308185b30c82c808b177c30 (diff) | |
download | pylint-git-60f39390d2079ea51b57d396276c0a06558f1dc9.tar.gz |
Modify range-builtin-not-iterating message (#2810)
-rw-r--r-- | CONTRIBUTORS.txt | 1 | ||||
-rw-r--r-- | pylint/checkers/python3.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index e01a3d2cf..c9890157d 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -278,3 +278,4 @@ contributors: * Goudcode: contributor +* Bluesheeptoken: contributor diff --git a/pylint/checkers/python3.py b/pylint/checkers/python3.py index c84f2b997..d577c918c 100644 --- a/pylint/checkers/python3.py +++ b/pylint/checkers/python3.py @@ -438,7 +438,7 @@ class Python3Checker(checkers.BaseChecker): "range built-in referenced when not iterating", "range-builtin-not-iterating", "Used when the range built-in is referenced in a non-iterating " - "context (returns an iterator in Python 3)", + "context (returns a range in Python 3)", ), "W1639": ( "filter built-in referenced when not iterating", |