summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbluesheeptoken <louis.fruleux1@gmail.com>2019-03-19 08:13:53 +0000
committerClaudiu Popa <pcmanticore@gmail.com>2019-03-19 09:13:53 +0100
commit60f39390d2079ea51b57d396276c0a06558f1dc9 (patch)
tree81977357c8412d8a87a2e0ab12a1dc6db64ad5be
parent40e8ef97b13c62e36308185b30c82c808b177c30 (diff)
downloadpylint-git-60f39390d2079ea51b57d396276c0a06558f1dc9.tar.gz
Modify range-builtin-not-iterating message (#2810)
-rw-r--r--CONTRIBUTORS.txt1
-rw-r--r--pylint/checkers/python3.py2
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",