Skip to content

Commit 60f3939

Browse files
bluesheeptokenPCManticore
authored andcommitted
Modify range-builtin-not-iterating message (#2810)
1 parent 40e8ef9 commit 60f3939

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CONTRIBUTORS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,3 +278,4 @@ contributors:
278278

279279
* Goudcode: contributor
280280

281+
* Bluesheeptoken: contributor

pylint/checkers/python3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ class Python3Checker(checkers.BaseChecker):
438438
"range built-in referenced when not iterating",
439439
"range-builtin-not-iterating",
440440
"Used when the range built-in is referenced in a non-iterating "
441-
"context (returns an iterator in Python 3)",
441+
"context (returns a range in Python 3)",
442442
),
443443
"W1639": (
444444
"filter built-in referenced when not iterating",

0 commit comments

Comments
 (0)