I think Python uses a very strange way to define static method in a
class. Why not make it like this?

class MyClass:
    def my_static_method(self):
        # self should be None as it's a static method
        # just ignore self

I'm a newcomer so maybe it's quite naive. But I just wonder why it is
designed like this.

Thanks.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to