mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-21 18:42:07 +08:00
Move ellipsis definition to types (#11223)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user