[Python-ideas] Non-ASCII in Python syntax? [was: Null coalescing operator]

Stephen J. Turnbull turnbull.stephen.fw at u.tsukuba.ac.jp
Tue Nov 1 03:10:54 EDT 2016


Steven D'Aprano writes:

 > In other words, ² behaves as a unary postfix operator that squares
 > its argument. Likewise for ³, etc. You can even combine them: x³³
 > would be the same as x**33. There's more here:

I hope that's configurable.  I use superscripts to indicate an index
as often as I use them to indicate an exponent.



More information about the Python-ideas mailing list