mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
related to https://github.com/python/typeshed/issues/3968 Co-authored-by: Stephen Morton <git@tungol.org>
24 lines
452 B
Python
24 lines
452 B
Python
import sys
|
|
from typing import Any
|
|
from typing_extensions import final
|
|
|
|
class Str(str): ...
|
|
|
|
@final
|
|
class Xxo:
|
|
def demo(self) -> None: ...
|
|
if sys.version_info >= (3, 11) and sys.platform != "win32":
|
|
x_exports: int
|
|
|
|
def foo(__i: int, __j: int) -> Any: ...
|
|
def new() -> Xxo: ...
|
|
|
|
if sys.version_info >= (3, 10):
|
|
class Error(Exception): ...
|
|
|
|
else:
|
|
class error(Exception): ...
|
|
class Null: ...
|
|
|
|
def roj(__b: Any) -> None: ...
|