[Python-ideas] globals should accept parenteses for extending beyond 1 line

Brett Cannon brett at python.org
Tue Jan 24 15:30:36 EST 2017


On Tue, 24 Jan 2017 at 01:42 Petr Viktorin <encukou at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170124/5e3f55bf/attachment.html>


More information about the Python-ideas mailing list