Commit b5fa74dc authored by Guido van Rossum's avatar Guido van Rossum

Dang. Even though this is obsolete code, somebody found a bug, and I

fix it.  Oh well.
parent 7147592a
......@@ -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 []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment