Support for parsing multiline python function defs

Python functions definitions spanning multiple lines can now be parsed
correctly