Paul Rubin <http://[EMAIL PROTECTED]> wrote:

> Steve Holden <[EMAIL PROTECTED]> writes:
> > > The current list function is supposed to be something like a
> > > typecast:
> > >
> > list() isn't a function, it's a type.
> 
> I'm not sure what the distinction is supposed to be.  "list" is anyway

You can subclass a type, you can check for it with isinstance, etc, all
things you couldn't do if list was still a factory function as in 2.1
and back.


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

Reply via email to