Why not 3.__class__ ?

Ignacio Vazquez-Abrams ignacio at openservices.net
Wed Oct 10 23:20:02 EDT 2001


On Wed, 10 Oct 2001, Peter Hansen wrote:

> 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,

Definitively negative ;)

> ** (on the golf course, for the non-native English speakers amongst us.)

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Python-list mailing list