Example use cases:

   - Loop variables and similar, it is sometimes more comfortable to scope
   it to the loop body only
   - Not having to name variables var1, var2, var3, or makeup unnecessarily
   unique variable names, in some situations



In other languages the curly bracket is used, in Python round brackets
might fit more in the syntax.

I don’t have much experience with the implementation of Python, so not sure
if there’s a technical reason against such idea,

feedback is very appreciated



Best regards,

Iyad Ahmed



Email: [email protected]

Socials: Twitter <https://twitter.com/cgonfire>

GitHub: https://github.com/iyadahmed
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/HH3XMQCGVWVHLOR3GV5A2EYTLWYASS72/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to