Audit stdlib object annotations (#9519)

This commit is contained in:
Avasam authored and GitHub committed 2023-01-17 15:40:00 +00:00
1 parent 3d6b8dccfe
commit c70d303985
31 files changed
+79 -79

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
import os
import sys
from _ast import *
from _typeshed import ReadableBuffer
from _typeshed import ReadableBuffer, Unused
from collections.abc import Iterator
from typing import Any, TypeVar, overload
from typing_extensions import Literal
@@ -9,7 +9,7 @@ from typing_extensions import Literal
if sys.version_info >= (3, 8):
class _ABC(type):
if sys.version_info >= (3, 9):
def __init__(cls, *args: object) -> None: ...
def __init__(cls, *args: Unused) -> None: ...
class Num(Constant, metaclass=_ABC):
value: int | float | complex