mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-07 02:10:59 +08:00
pep 484: more reexports (#4607)
There are still a couple more, but hopefully this fixes CI. It's a little bit of a chore to track down some of these; it looks like master differs from latest release for a number of them. Co-authored-by: hauntsaninja <>
This commit is contained in:
1
third_party/3/aiofiles/__init__.pyi
vendored
1
third_party/3/aiofiles/__init__.pyi
vendored
@@ -1,2 +1 @@
|
||||
from . import _os as os
|
||||
from .threadpool import open as open
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
from hashlib import _Hash as _HashAlg
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
import hashlib
|
||||
from typing import Any
|
||||
|
||||
from jwt.algorithms import Algorithm
|
||||
|
||||
from . import _HashAlg
|
||||
|
||||
class ECAlgorithm(Algorithm[Any]):
|
||||
SHA256: _HashAlg
|
||||
SHA384: _HashAlg
|
||||
SHA512: _HashAlg
|
||||
def __init__(self, hash_alg: _HashAlg) -> None: ...
|
||||
SHA256: hashlib._Hash
|
||||
SHA384: hashlib._Hash
|
||||
SHA512: hashlib._Hash
|
||||
def __init__(self, hash_alg: hashlib._Hash) -> None: ...
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
import hashlib
|
||||
from typing import Any
|
||||
|
||||
from jwt.algorithms import Algorithm
|
||||
|
||||
from . import _HashAlg
|
||||
|
||||
class RSAAlgorithm(Algorithm[Any]):
|
||||
SHA256: _HashAlg
|
||||
SHA384: _HashAlg
|
||||
SHA512: _HashAlg
|
||||
def __init__(self, hash_alg: _HashAlg) -> None: ...
|
||||
SHA256: hashlib._Hash
|
||||
SHA384: hashlib._Hash
|
||||
SHA512: hashlib._Hash
|
||||
def __init__(self, hash_alg: hashlib._Hash) -> None: ...
|
||||
|
||||
5
third_party/3/waitress/compat.pyi
vendored
5
third_party/3/waitress/compat.pyi
vendored
@@ -2,11 +2,6 @@ import sys
|
||||
from io import TextIOWrapper
|
||||
from typing import Any, Optional, Text, Tuple
|
||||
|
||||
if sys.version_info[0] == 3:
|
||||
from urllib import parse as urlparse
|
||||
else:
|
||||
import urlparse
|
||||
|
||||
PY2: bool
|
||||
PY3: bool
|
||||
WIN: bool
|
||||
|
||||
Reference in New Issue
Block a user