In article <[email protected]>, [email protected] (Aahz) 
wrote:
> In article <[email protected]>,
> Ned Deily  <[email protected]> wrote:
> >The second example is a call to the built-in function "list",  [...]
> Actually, list() is not a function: 
> >>> list
> <type 'list'>
> Rather, ``list`` is an object (specifically a ``type`` object) with a
> __call__() method.

Yes.  However, it is also true that "list" is listed under the Built-in 
Functions section of the Python Standard Library documentation and, wrt 
to explaining the OP's issue, quacks like a function here.

-- 
 Ned Deily,
 [email protected]

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to