Move ellipsis definition to types (#11223)

This commit is contained in:
Shantanu authored and GitHub committed 2024-01-02 16:14:53 -08:00
1 parent 6aa6722fe1
commit 6fcd37456d
2 files changed
+12 -5

No files matched your search

+4 -1
View File
@@ -626,7 +626,10 @@ if sys.version_info >= (3, 10):
@final
class NoneType:
def __bool__(self) -> Literal[False]: ...
EllipsisType = ellipsis # noqa: F821 from builtins
@final
class EllipsisType: ...
from builtins import _NotImplementedType
NotImplementedType = _NotImplementedType