Distinction between “class” and “type”

Gregory Ewing greg.ewing at canterbury.ac.nz
Fri May 13 04:24:44 EDT 2016


Paul Rubin wrote:
> You can't instantiate T by saying
> 
>    x = T()
> 
> and expecting to get back some value that is (indeterminately) an int or
> a string.

Unless it's Python 6000 running on a quantum computer...

-- 
Greg



More information about the Python-list mailing list