mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Small fixes for Python 3.10 (#5044)
This is enough to get stubtest working (note that it's a little annoying to install mypy currently since typed-ast seems to have broken again on Python 3.10) Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -331,4 +331,6 @@ if sys.version_info >= (3, 10):
|
||||
class NoneType:
|
||||
def __bool__(self) -> Literal[False]: ...
|
||||
EllipsisType = ellipsis # noqa F811 from builtins
|
||||
from builtins import _NotImplementedType
|
||||
|
||||
NotImplementedType = _NotImplementedType # noqa F811 from builtins
|
||||
|
||||
Reference in New Issue
Block a user