top | item 37664889

(no title)

smilingemoji | 2 years ago

The API looks very clean. Today I learned about "..." in Python

discuss

order

quickthrower2|2 years ago

It is just a noop, but here it looks very appropriate/readable because it reads as saying "AI will fill this in".

politelemon|2 years ago

It's a misuse of the Python Ellipsis, though PEP has no opinion on it. The Ellipsis is "Special value used mostly in conjunction with extended slicing syntax for user-defined container data types."

In other words, it happens to work and look neat, but pass is the correct way to do it.