On Tue, 24 Jan 2017 at 01:42 Petr Viktorin <encukou@gmail.com> wrote:
On 01/23/2017 10:22 PM, João Matos wrote:
> Hello,
>
> I understand.
> Python sources are very large. Any pointers to which file defines the
> global statement syntax?

Consider joining the core-mentorship list for questions like these:
https://mail.python.org/mailman/listinfo/core-mentorship

Anyway, Python's grammar is defined in the file Grammar/Grammar, and
there's a mini-HOWTO at the top of that file. Good luck!

There's also https://cpython-devguide.readthedocs.io/en/latest/grammar.html