[ANN]: Python-by-Example updates

Max Erickson maxerickson at gmail.com
Sat Apr 12 08:35:24 EDT 2008


AK <andrei.avk at gmail.com> wrote:

> Python-by-Example is a guide to LibRef, aiming to give examples
> for all functions, classes, modules, etc. Right now examples
> for functions in some of the most important modules are
> included.
> 
> http://pbe.lightbird.net/
> 
> thanks,
> 

The second set of examples on the page for decimal doesn't look quite 
right.

The first couple of lines:

    getcontext().prec = 6       # Decimal('3.0')
    Decimal("3.0")              # Decimal('3.1415926535')

I would assume that the " = 6" isn't getting processed correctly.


max




More information about the Python-list mailing list