[Python-Dev] Re: PEP239 (Rational Numbers) Reference Implementation and new issues

Skip Montanaro skip@pobox.com
Tue, 8 Oct 2002 10:14:20 -0500


 David> 2r/3 would be nicer IMO.
I like this the best of those I've seen so far. I don't see any reason that
rational literals need to contain a division symbol, so "2r" makes a fine
rational. What about "2.5r"? Can that just be expanded to "25r/10" by the
lexical analyzer?
Skip

AltStyle によって変換されたページ (->オリジナル) /