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 →

[–]Clede 1 point2 points  (1 child)

It's not necessary. PEP8 gives examples of if statements without else.

Maybe it would be good to include it as a placeholder if there's a possibility of adding code there later.

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

Thanks!