"Ron Johnson, Jr." <ronjohn at gs.verio.net> writes: > >>> class MyClass: > ... i = 12345 > ... def f(x): > ... return 'hello world' > >>> print x.f(1) > Traceback (innermost last): > File "<stdin>", line 1, in ? > TypeError: unbound method must be called with class instance 1st argument