Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cf48638

Browse files
committed
Fix SF #1345263, colorsys tests, bug in frange
Fix a typo that caused step to be ignored. Will backport.
1 parent 6eac200 commit cf48638

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/test/test_colorsys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
def frange(start, stop, step):
55
while start <= stop:
66
yield start
7-
start += stop
7+
start += step
88

99
class ColorsysTest(unittest.TestCase):
1010

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ Chris Hoffman
271271
Albert Hofkamp
272272
Jonathan Hogg
273273
Gerrit Holl
274+
Rune Holm
274275
Philip Homburg
275276
Naofumi Honda
276277
Jeffrey Honig

0 commit comments

Comments
 (0)