Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def get_int():
- return 555
- def get_math_int():
- return math.pow(2, 5)
- class ClassFoo(object):
- def __init__(self, x, y):
- self.attr1 = "hello"
- self.attr2 = get_int()
- self.attr3 = get_math_int()
- def spam(self):
- return 77
- class ClassBar(object):
- def __init__(self, x, y):
- self.attr4 = "hello"
- def spam(self):
- return 99
Add Comment
Please, Sign In to add comment