Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyClass:
- my_attribute = 1
- def __init__(self):
- pass
- def set_my_attribute(self, value):
- self.my_attribute = value
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement