2 ms·
The only way in which Ellipsis can be useful is to save one character by using it instead of pass in Python3, like: def foo(): ... It is really hi
by DasIch 14y ago
The only way in which Ellipsis can be useful is to save one character by using it instead of pass in Python3, like:
def foo():
...
It is really highly unusual and I wouldn't recommend the practice shown in the blog post at all as this is not a common pattern.