Python does not have "static variables" in precisely the same sense that C++ or Java do. It does have class attributes.
there is no such thing AFAIK, the closest is a class variable
Also, @staticmethod is nearly useless. @classmethod is a little more useful
No comments:
Post a Comment