Hi,

The getCharStopIndex method in org.python.antlr.PythonTree appears to be missing the last character while getting the count for a FunctionDef.
This happens only when there are no more statements after the method definition is finished.

With regards,
Sampathkumar R