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

Ethan Furman ethan at stoneleaf.us
Mon Jan 23 17:04:16 EST 2017


On 01/23/2017 01:18 PM, João Matos wrote:

> Why should I repeat global if I can use the line separation character \
>  (like I mentioned on my 1st email) or parentheses as I suggested?

Because prefixing each line with global is more readable than either \ or ( )?  At least to me.  ;)

--
~Ethan~


More information about the Python-ideas mailing list