In the attached test case, the python parser detects "im_a_function" as a method of testClass but it is a function.
This happens because "im_a_function" starts on the same indentation level as the last parsed class before.
func_vs_method.patch tries to solve this by clearing the last parent string for the indentation level of the parsed line.
But this is more or less only a quick hack, I guess there is a better, proper solution.
Sign up for the SourceForge newsletter:No, thanks