[Python-Dev] unicodedata.numeric (was RE: stupid floating point question...)

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Thu, 28 Sep 2000 23:49:13 +0200


tim wrote:
> > unicodedata.rational might be an obvious choice.
> >
> >     >>> unicodedata.rational(u"\N{VULGAR FRACTION ONE THIRD}")
> >     (1, 3)
> 
> Perfect -- another great name.  Beats all heck out of unicodedata.vulgar()
> too.

should I interpret this as a +1, or should I write a PEP on
this topic? ;-)

</F>