[Python-3000] Types and classes

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Apr 8 03:53:06 CEST 2008


Terry Reedy wrote:

> As in
> 
>>>>print(type(3))
> 
> int  # instead of <class 'int'>

I have the same feeling there -- the only time I'm
likely to be deliberately printing a class is for
debugging, and then I want unambiguity.

-- 
Greg


More information about the Python-3000 mailing list