On Sat, Oct 25, 2014 at 4:05 AM, Ian Kelly <ian.g.ke...@gmail.com> wrote:
> The name of the builtin is "list". It's a function* that takes an
> argument and uses it to construct a list, which it returns.
>
> *Actually it's a type object, and calling it causes an instance of the
> type to be constructed, but for all intents and purposes here it works
> exactly like a function.

It's callable, that's all that matters.

callable(object) -> bool
    Return whether the object is callable (i.e., some kind of function).

:)

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to