How to fix those errors?
steve+comp.lang.python at pearwood.info
Mon Nov 17 01:38:31 CET 2014
Chris Angelico wrote:
> You should be able to use two semicolons, that's equivalent to one colon
> (No, it isn't, so don't take this advice. Thanks.)
Oooh! Python-ideas territory!
I think the parser should allow two consecutive semi-colons, or four commas,
as an alias for a colon. Then we could write code like:
for x in seq,,,,
for people who have a broken keyboard or have remapped colon to something
else. It would also make reading slices an exciting adventure:
What do you think? Is it perhaps better suited to perl-ideas?
More information about the Python-list