__builtin__ quote

Chris Rebert clp at rebertia.com
Tue Jan 6 03:52:06 EST 2009


On Tue, Jan 6, 2009 at 12:38 AM, Steven Woody <narkewoody at gmail.com> wrote:
> Hi,
>
> I am a new leaner and I get a question:  abs() is a member of
> __builtin__ module, but why should I use abs() rather than
> __builtin__.abs() ? Thanks.

To clarify, having __builtin__ is just the language's way of reifying
the notion of "built-in functions" in the form of a special module.

Cheers,
Chris

-- 
Follow the path of the Iguana...
http://rebertia.com



More information about the Python-list mailing list