[Python-ideas] globals should accept parenteses for extending beyond 1 line
Guido van Rossum
guido at python.org
Mon Jan 23 14:14:07 EST 2017
More information about the Python-ideas mailing list
Mon Jan 23 14:14:07 EST 2017
- Previous message (by thread): [Python-ideas] globals should accept parenteses for extending beyond 1 line
- Next message (by thread): [Python-ideas] globals should accept parenteses for extending beyond 1 line
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You can just write global foo, bar global baz, bletch On Mon, Jan 23, 2017 at 10:43 AM, João Matos <jcrmatos at gmail.com> wrote: > Hello, > > I would like to suggest that globals should follow the existing rule > (followed by the import statement, the if statement and in other places) > for extending beyond 1 line using parentheses. > Like this: > globals (var_1, var_2, > var_3) > > instead of what must be done now, which is: > globals var_1, var_2 \ > var_3 > > > Best regards, > > JM > > > _______________________________________________ > Python-ideas mailing list > Python-ideas at python.org > https://mail.python.org/mailman/listinfo/python-ideas > Code of Conduct: http://python.org/psf/codeofconduct/ > -- --Guido van Rossum (python.org/~guido) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170123/736f4fd4/attachment.html>
- Previous message (by thread): [Python-ideas] globals should accept parenteses for extending beyond 1 line
- Next message (by thread): [Python-ideas] globals should accept parenteses for extending beyond 1 line
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list