This fails with syntax error, but works if Nf.<v> is on new line:

K.<Z>=ZZ[]
for D in [ 1 .. 20]:
        try:  Nf.<v>=NumberField(Z**2-D)
        except Exception,e:
                print e


Basically |try:  stuff()| appears to work.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to