colloquial names for types?
cliechti at gmx.net
Sun Aug 25 19:26:55 CEST 2002
Andrew Koenig <ark at research.att.com> wrote in
news:yu99bs7q50yp.fsf at europa.research.att.com:
> For example, the colloquial type of 3
> is "int", not "<type 'int'>", and the colloquial type of a class is
> the name of the class, not including the module in which the class is
does that help:
types are classes and the __name__ attribute gives the class name.
Chris <cliechti at gmx.net>
More information about the Python-list