[Edu-sig] OK, time for 2.4

Guido van Rossum gvanrossum at gmail.com
Sun Oct 24 20:53:11 CEST 2004


> > help('decimal') would have worked, though.
> 
> Doesn't.  But note that I don't 'import decimal' until later, then it works.

Did for me, but I wasn't using IDLE.

>  IDLE 1.1a3
>  >>> help(decimal)
> 
>  Traceback (most recent call last):
>    File "<pyshell#0>", line 1, in -toplevel-
>      help(decimal)
>  NameError: name 'decimal' is not defined
> 
> Wondering why, in the help string it says:
> 
>  DESCRIPTION
>      This is a Py2.3 implementation of decimal floating point
>  arithmetic based on the General Decimal Arithmetic Specification:
> 
> Why Py2.3?  Just an oversight?

What else could it be? :-)

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Edu-sig mailing list