Python Mode : maximum recursion depth

It does work but didn’t answer my problem entirely…
Thank you