I am new to python and trying to learn an unfamilar code base. I want to add a print statement just below the def line. But every time I do so for one of these very short methods I get an indentation error.
def rename(self, old, new):
#print 'this will bring an error if left uncommented'
return os.rename(self._full_path(old), self._full_path(new))
How can I add a print statement to a short method like this?