mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 12:44:33 +08:00
Use lowercase set, frozenset and deque where possible (#6346)
This commit is contained in:
1 parent
916ca06885
commit
5c8e68f0eb
15 files changed
+77
-79
No files matched your search
+2
-2
@@ -3,7 +3,7 @@ import sys
|
||||
import types
|
||||
from _typeshed import Self
|
||||
from collections import OrderedDict
|
||||
from collections.abc import Awaitable, Callable, Generator, Mapping, Sequence, Set
|
||||
from collections.abc import Awaitable, Callable, Generator, Mapping, Sequence
|
||||
from types import (
|
||||
AsyncGeneratorType,
|
||||
BuiltinFunctionType,
|
||||
@@ -313,7 +313,7 @@ class ClosureVars(NamedTuple):
|
||||
nonlocals: Mapping[str, Any]
|
||||
globals: Mapping[str, Any]
|
||||
builtins: Mapping[str, Any]
|
||||
unbound: Set[str]
|
||||
unbound: set[str]
|
||||
|
||||
def getclosurevars(func: Callable[..., Any]) -> ClosureVars: ...
|
||||
def unwrap(func: Callable[..., Any], *, stop: Callable[[Any], Any] | None = ...) -> Any: ...
|
||||
|
||||
Reference in new issue
Block a user