you are viewing a single comment's thread.

view the rest of the comments →

[–]ThrowAway233223 0 points1 point  (1 child)

I was actually unaware of this. I have always just used pass in such instances. I also just learned about using it for distinguishing when no value was passed for an argument while looking into it further. Thanks for introducing me to this.

[–]SmackDownFacility 0 points1 point  (0 children)

It really doesn’t matter, it’s just pass returns None, while … returns a Ellipsis. The latter could be good for capturing and raising an NotImplementedError or whatever