fix xxlimited inheritance (#11119)

related to https://github.com/python/typeshed/issues/3968

Co-authored-by: Stephen Morton <git@tungol.org>
This commit is contained in:
Stephen Morton
2023-12-07 12:04:41 -08:00
committed by GitHub
parent e76e6811e1
commit acfdebfeb8

View File

@@ -2,7 +2,7 @@ import sys
from typing import Any
from typing_extensions import final
class Str: ...
class Str(str): ...
@final
class Xxo:
@@ -14,10 +14,10 @@ def foo(__i: int, __j: int) -> Any: ...
def new() -> Xxo: ...
if sys.version_info >= (3, 10):
class Error: ...
class Error(Exception): ...
else:
class error: ...
class error(Exception): ...
class Null: ...
def roj(__b: Any) -> None: ...