[Python-ideas] Allow additional separator character in variables

Serhiy Storchaka storchaka at gmail.com
Sun Nov 19 02:38:17 EST 2017


19.11.17 04:01, Mikhail V пише:
> 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.

You already can use "separators" different from the underscore.

my·variable
myᝍvariable
myㅡvariable
myⵧvariable
myㄧvariable
myㆍvariable

Be lucky to distinguish one "separator" from other.



More information about the Python-ideas mailing list