> > I know the normal python % operation does something similar but
> > that's taken out by the preparser.
> 
> The Sage preparser doesn't touch %:
> 
> sage: preparse('a % b')
> 'a % b'

But 

sage: preparse('1.5 % 2')
'RR(1.5) % ZZ(2)'

>From memory, but you get the idea.

Nick


--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to