On Wed, 28 Jul 2010 15:58:29 +0200, Ulrich Eckhardt <eckha...@satorlaser.com> wrote:
wheres pythonmonks wrote:
> Thanks ... I thought int was a type-cast (like in C++) so I
assumed I
> couldn't reference it.
Firstly, "int" is a class. Python doesn't make a distinction
between builtin
types and class types like C++, where you e.g. can't derive from
builtin
types.

That wasn't true until recently with class and type unification. In some older versions of python you cannot derive from build in types either.

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

Reply via email to