Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class A(object):
- def __magicmethod_(self):
- print "Classe A",
- class B(A):
- def __init__(self):
- prin "Classe B",
- if __name__ = "__main__":
- B()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement