Mostly Linux & Python syntax notes and hyperlinks.

Friday, August 19, 2011

python: Define an empty function using pass

I want to define a function for a parent class that can be used by child.
Using pass seems to be the proper way to do it:
def emptyFunction(self):
     pass