[Python-3000] gettype (original) (raw)
tomer filiba tomerfiliba at gmail.com
Tue Aug 1 19:27:58 CEST 2006
- Next message: [Python-3000] gettype
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
that's surly anachronism :)
o.class is a little more typing and will surely scare newbies. moreover, type(x) and x.class can return different things (you can fool class, but not type()).
for my part, i'm fine with any form that makes a distinction between the metaclass "type" and the inquire-type "type". call it o.class, gettype() or typeof(), just don't mix that with the metaclass
-tomer
On 7/30/06, "Martin v. Löwis" <martin at v.loewis.de> wrote:
tomer filiba schrieb: > so why not choose the "get%s()" notation?
Why not o.class? Regards, Martin
- Next message: [Python-3000] gettype
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]