[Python-ideas] Inline assignments using "given" clauses
alexander.belopolsky at gmail.com
Fri May 11 13:42:55 EDT 2018
On Fri, May 11, 2018 at 11:43 AM Steven D'Aprano <steve at pearwood.info>
> I agree with Jacco here. We have to name the variable twice, even if it
> is only used once, and we have a relatively long keyword, five
> characters, longer than average for all keywords, and only one char
> short of the maximum.
To be fair when counting the keystrokes, you should take into account that
the colon and the parentheses that appear in the := syntax are the upper
register keys that counting the shift require two keystrokes each.
More information about the Python-ideas