How to guard against bugs like this one?
dickinsm at gmail.com
Tue Feb 2 10:20:59 CET 2010
On Feb 2, 3:28 am, Steven D'Aprano
<ste... at REMOVE.THIS.cybersource.com.au> wrote:
> There is no module numbers in the standard library, at least not in 2.5.
It's new in 2.6 (and 3.0, I think; it's there in 3.1, anyway). It
provides abstract base classes for numeric types; see the fractions
module source for some of the ways it can be used. Here are the docs:
and also PEP 3141, on which it's based:
More information about the Python-list