Packages icon indicating copy to clipboard operation
Packages copied to clipboard

[Python] Keywords immediately after numbers

Open FichteFoll opened this issue 3 years ago • 1 comments

To my great surprise, the following is legal in Python, but the current syntax definition does not allow for it.

5in range(10)
5if 0else 6

Low priority, since I've never seen code like this, but an issue nonetheless.

FichteFoll avatar Mar 30 '21 19:03 FichteFoll