summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2005-11-02 05:54:27 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2005-11-02 05:54:27 (GMT)
commitcf4863831c729a105d31c26af14909c16f6bdbd9 (patch)
tree3b7e170df601bf282487c636d834501dbe860400
parent6eac2005bfdb1c2e48c8ebba234c61cc9ab9c4c6 (diff)
downloadcpython-cf4863831c729a105d31c26af14909c16f6bdbd9.zip
cpython-cf4863831c729a105d31c26af14909c16f6bdbd9.tar.gz
cpython-cf4863831c729a105d31c26af14909c16f6bdbd9.tar.bz2
Fix SF #1345263, colorsys tests, bug in frange
Fix a typo that caused step to be ignored. Will backport.
-rw-r--r--Lib/test/test_colorsys.py2
-rw-r--r--Misc/ACKS1
2 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_colorsys.py b/Lib/test/test_colorsys.py
index 1ef7b0c..a8cd885 100644
--- a/Lib/test/test_colorsys.py
+++ b/Lib/test/test_colorsys.py
@@ -4,7 +4,7 @@ import colorsys
def frange(start, stop, step):
while start <= stop:
yield start
- start += stop
+ start += step
class ColorsysTest(unittest.TestCase):
diff --git a/Misc/ACKS b/Misc/ACKS
index b95902a..72ed346 100644
--- 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