mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Fix isort w.r.t. _ast/_collections_abc/_tracemalloc/_warnings (#6329)
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
from _warnings import warn as warn, warn_explicit as warn_explicit
|
||||
from types import ModuleType, TracebackType
|
||||
from typing import Any, Sequence, TextIO, Type, overload
|
||||
from typing_extensions import Literal
|
||||
|
||||
from _warnings import warn as warn, warn_explicit as warn_explicit
|
||||
|
||||
_ActionKind = Literal["default", "error", "ignore", "always", "module", "once"]
|
||||
|
||||
filters: Sequence[tuple[str, str | None, Type[Warning], str | None, int]] # undocumented, do not mutate
|
||||
|
||||
Reference in New Issue
Block a user