K
Kless
Why can not to access from a class attribute to a function of that
class?
class?
Why can not to access from a class attribute to a function of that
class?
-----------------
class Foo(object):
attr = __class__.__name__
attr = self.__class__.__name__
-----------------
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.