Replace Any with Incomplete in many places (#9565)

This commit is contained in:
Avasam
2023-01-18 14:12:46 -05:00
committed by GitHub
parent a4e3cfefac
commit 6ac24ed923
16 changed files with 55 additions and 48 deletions

View File

@@ -1,4 +1,4 @@
from _typeshed import StrOrBytesPath
from _typeshed import Incomplete, StrOrBytesPath
from collections.abc import Callable, Iterable, Sequence
from datetime import datetime
from typing import Any
@@ -18,7 +18,7 @@ TYPE_RSA: int
TYPE_DSA: int
class _EllipticCurve:
def __init__(self, lib: Any | None, nid: int, name: str) -> None: ...
def __init__(self, lib: Incomplete | None, nid: int, name: str) -> None: ...
class Error(Exception): ...