In today’s edition of “Shit I learned after N years of Python”: Ellipsis. It’s just ...
.
It’s not useful for too much - seems like mostly fancy slicing on numpy ndarrays. You can use it instead of pass
, a la:
def noop():
pass
def noop2():
...
but I don’t like that too much. pass
is less surprising.