class Foo(object):
        def Hello(self):
                print "hi"

object is purple, ie some sort of reserved word.

why is self in black(ie a normal word) when it has special powers.
replacing it with sel for example will cause an error when calling
Hello.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to