In sage the types are not that important (it is just an implementation 
detail), but the parent of an object is since that says what the 
mathematical meaning of an object is. Try:

q=p.parent()(q)

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to