Python does not force you to keep functions (or class methods) simple, but it is certainly desired.
here's the 'guide': https://www.python.org/dev/peps/pep-0020/
or from command line:
here's the 'guide': https://www.python.org/dev/peps/pep-0020/
or from command line:
$ python >>>import this