| 1 | import sys |
| 2 | from typing import Any, ClassVar, final |
| 3 | |
| 4 | class Str(str): ... |
| 5 | |
| 6 | @final |
| 7 | class Xxo: |
| 8 | def demo(self) -> None: ... |
| 9 | if sys.version_info >= (3, 11) and sys.platform != "win32": |
| 10 | x_exports: int |
| 11 | |
| 12 | def foo(i: int, j: int, /) -> Any: ... |
| 13 | def new() -> Xxo: ... |
| 14 | |
| 15 | if sys.version_info >= (3, 10): |
| 16 | class Error(Exception): ... |
| 17 | |
| 18 | else: |
| 19 | class error(Exception): ... |
| 20 | |
| 21 | class Null: |
| 22 | __hash__: ClassVar[None] # type: ignore[assignment] |
| 23 | |
| 24 | def roj(b: Any, /) -> None: ... |