]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix SF #1345263, colorsys tests, bug in frange
authorNeal Norwitz <nnorwitz@gmail.com>
Wed, 2 Nov 2005 05:54:27 +0000 (05:54 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Wed, 2 Nov 2005 05:54:27 +0000 (05:54 +0000)
Fix a typo that caused step to be ignored.

Will backport.

Lib/test/test_colorsys.py
Misc/ACKS

index 1ef7b0cdfc70bb9fe1719f82dd8e6afdf35832e3..a8cd885db1252d7e202a337dcee8fbbf51c62993 100644 (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):
 
index b95902abb7a5df0cc5294fb48fa924de7783b394..72ed346fc57e24118d4142337291d63fa4a1ee16 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -271,6 +271,7 @@ Chris Hoffman
 Albert Hofkamp
 Jonathan Hogg
 Gerrit Holl
+Rune Holm
 Philip Homburg
 Naofumi Honda
 Jeffrey Honig