26 lines
546 B
Python
26 lines
546 B
Python
print('<[100]> evalsupport module start')
|
|
|
|
def deco_alpha(cls):
|
|
print('<[200]> deco_alpha')
|
|
|
|
def inner_1(self):
|
|
print('<[300]> deco_alpha:inner_1')
|
|
|
|
cls.method_y = inner_1
|
|
return cls
|
|
|
|
# BEGIN META_ALEPH
|
|
class MetaAleph(type):
|
|
print('<[400]> MetaAleph body')
|
|
|
|
def __init__(cls, name, bases, dic):
|
|
print('<[500]> MetaAleph.__init__')
|
|
|
|
def inner_2(self):
|
|
print('<[600]> MetaAleph.__init__:inner_2')
|
|
|
|
cls.method_z = inner_2
|
|
# END META_ALEPH
|
|
|
|
print('<[700]> evalsupport module end')
|