diff options
author | Guido van Rossum <guido@python.org> | 1999-02-22 15:19:47 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-02-22 15:19:47 (GMT) |
commit | 11a8d0b684f86edb2760020371b53dc9377a9dbd (patch) | |
tree | e6383fd08f786fd34cbf89b43d4778bc618e0e86 /Lib/lib-old | |
parent | 9226d8e8a86abbb3733a5aa88f7994ef6516aa87 (diff) | |
download | cpython-11a8d0b684f86edb2760020371b53dc9377a9dbd.zip cpython-11a8d0b684f86edb2760020371b53dc9377a9dbd.tar.gz cpython-11a8d0b684f86edb2760020371b53dc9377a9dbd.tar.bz2 |
Dang. Even though this is obsolete code, somebody found a bug, and I
fix it. Oh well.
Diffstat (limited to 'Lib/lib-old')
-rw-r--r-- | Lib/lib-old/poly.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-old/poly.py b/Lib/lib-old/poly.py index 57bd203..f89bd14 100644 --- a/Lib/lib-old/poly.py +++ b/Lib/lib-old/poly.py @@ -7,7 +7,7 @@ def normalize(p): # Strip unnecessary zero coefficients n = len(p) - while p: + while n: if p[n-1]: return p[:n] n = n-1 return [] |