Advertisement
Guest User

Untitled

a guest
Jul 5th, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. class MyClass:
  2.     my_attribute = 1
  3.     def __init__(self):
  4.         pass
  5.     def set_my_attribute(self, value):
  6.         self.my_attribute = value
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement