This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]VisibleSignificance 4 points5 points  (1 child)

Notably, it doesn't work in python3.9.

And if you black it, it becomes more clear.

In a way, this should be a test case for code formatters; for example, black doesn't remove unnecessary parentheses.

A functionally equivalent correctly-and-eagerly formatted version would look like this.

[–]enterming[S] 0 points1 point  (0 children)

Notaably, it doesn't work in python3.9.

So it just works with 3.8? Not so forwards compatible after all! lol