| 1 | initial version |
Try this change:
polynomial = 0
Seems to do what you want then; naturally 0 = polynomial is not valid Python in any case.
I don't know how that even got through the preparser without a worse error indicating what you did wrong more obviously - I have submitted Trac 24971 regarding this very subtle thing, which seems to be a double preparsing of Sage stuff in this case.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.