Fix SF #1345263, colorsys tests, bug in frange

Fix a typo that caused step to be ignored.

Will backport.
This commit is contained in:
Neal Norwitz 2005-11-02 05:54:27 +00:00
parent 6eac2005bf
commit cf4863831c
2 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import colorsys
def frange(start, stop, step):
while start <= stop:
yield start
start += stop
start += step
class ColorsysTest(unittest.TestCase):

View File

@ -271,6 +271,7 @@ Chris Hoffman
Albert Hofkamp
Jonathan Hogg
Gerrit Holl
Rune Holm
Philip Homburg
Naofumi Honda
Jeffrey Honig