For example:
class a:
@staticmethod
def aaa():
print 'a'
a.aaa()
a.aaa = lambda: raise ValueError('a')
a.aaa()
The second time python raises an error that I didn't pass an instance of class a into the method. How can I change the implementation without removing the static property?