mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-02 09:33:25 +08:00
Bump flake8-pyi and pytype test dependencies (#8656)
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
import sys
|
||||
from _ctypes import RTLD_GLOBAL as RTLD_GLOBAL, RTLD_LOCAL as RTLD_LOCAL
|
||||
from _typeshed import ReadableBuffer, Self, WriteableBuffer
|
||||
from abc import abstractmethod
|
||||
from collections.abc import Callable, Iterable, Iterator, Mapping, Sequence
|
||||
from typing import Any, ClassVar, Generic, TypeVar, Union as _UnionT, overload
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
# TODO: import these from _ctypes once it no longer breaks pytype
|
||||
RTLD_GLOBAL: int
|
||||
RTLD_LOCAL: int
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
from types import GenericAlias
|
||||
|
||||
|
||||
Reference in New Issue
Block a user