In 46 class object some_cls_attr True def some_method attr some_cls_at

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
In [46]: class A(object):
some_cls_attr = True
def some_method(attr=A.some_cls_attr):
print A.some_cls_attr
....:
....:
In [50]: a = A()
In [51]: a.some_method()
True