[Python-ideas] Allow additional separator character in variables
ncoghlan at gmail.com
Sat Nov 18 21:32:21 EST 2017
On 19 November 2017 at 12:01, Mikhail V <mikhailwas at gmail.com> wrote:
> Python allows underscore character as a separator in variables.
> This is better than nothing, still it does not make the look much better.
> **Proposal**: allow additional separator, namely hyphen character.
Regardless of any potential readability merits, backwards
compatibility requirements combined with the use of the hyphen
character as a binary operator prohibit such a change:
>>> my = variable = 1
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-ideas