I can't get call a class for some reason.  This must be one of those
newbie questions I hear so much about:

class wontwork:
        def really():
                print "Hello World"

wontwork.really()

This returns (as an error):

Traceback (most recent call last):
  File "<pyshell#4>", line 1, in <module>
    wontwork.really()
TypeError: unbound method really() must be called with wontwork
instance as first argument (got nothing instead)

Any ideas?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to