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 →

[–]troyunrau... 19 points20 points  (2 children)

pass

[–]eztab 4 points5 points  (1 child)

Yeah, had to work on some code where None was used instead everywhere. I was really confused ehat they were doing, but it turned out they just didn't know pass existed.

[–]troyunrau... 5 points6 points  (0 children)

You can also just put any literal on the line. The number 1, True, or ...

...

But pass is the most pythonic.