[Tutor] Uncallable class methods?
Allan Crooks
allan.crooks@btinternet.com
Tue, 12 Jun 2001 05:22:43 +0100
Hi,
Quick question about the following piece of code:
>>> class X:
.. def y():
.. print 'I am y of x.'
Is there anyway that y can be invoked? My understanding is no, in which case, can anyone tell me why the interpreter doesn't complain about a class method being declared which does not have the minimum of one argument?
Of course, considering the wealth of replies I received about my query about buffers, maybe I'm asking in the wrong place. :)
Allan.