Why not 3.__class__ ?
Peter Hansen
peter at engcorp.com
Wed Oct 10 22:57:10 EDT 2001
John Roth wrote:
>
> I presume (although I haven't tested it) that "3(x, y, z)" produces a
> "not callable object" error, and "3[x]" produces a "not subscriptable"
> error as well. I really can't see what calling '3' would do, but
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I'm not sure either, but calling '4' should make people duck! **
if-puns-are-the-lowest-form-of-humor-what-are-numeric-puns-ly yr's,
-Peter Hansen
** (on the golf course, for the non-native English speakers amongst us.)
More information about the Python-list
mailing list