summaryrefslogtreecommitdiff
path: root/stubs
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2021-01-28 12:58:14 +0100
committerAndrej Shadura <andrewsh@debian.org>2021-01-28 12:58:14 +0100
commit70e3daadcb836b38612ff386160ea8a456f69a5a (patch)
treeb4d34e92fca7061790899c803935afb3c8c8fba6 /stubs
parent56044cac92cdd65dc3b4fd03557eaf32976e6da9 (diff)
New upstream version 1.26.0
Diffstat (limited to 'stubs')
-rw-r--r--stubs/frozendict.pyi11
-rw-r--r--stubs/sortedcontainers/sorteddict.pyi6
-rw-r--r--stubs/txredisapi.pyi2
3 files changed, 5 insertions, 14 deletions
diff --git a/stubs/frozendict.pyi b/stubs/frozendict.pyi
index 3f3af59f..0368ba47 100644
--- a/stubs/frozendict.pyi
+++ b/stubs/frozendict.pyi
@@ -15,16 +15,7 @@
# Stub for frozendict.
-from typing import (
- Any,
- Hashable,
- Iterable,
- Iterator,
- Mapping,
- overload,
- Tuple,
- TypeVar,
-)
+from typing import Any, Hashable, Iterable, Iterator, Mapping, Tuple, TypeVar, overload
_KT = TypeVar("_KT", bound=Hashable) # Key type.
_VT = TypeVar("_VT") # Value type.
diff --git a/stubs/sortedcontainers/sorteddict.pyi b/stubs/sortedcontainers/sorteddict.pyi
index 68779f96..7b9fd079 100644
--- a/stubs/sortedcontainers/sorteddict.pyi
+++ b/stubs/sortedcontainers/sorteddict.pyi
@@ -7,17 +7,17 @@ from typing import (
Callable,
Dict,
Hashable,
- Iterator,
- Iterable,
ItemsView,
+ Iterable,
+ Iterator,
KeysView,
List,
Mapping,
Optional,
Sequence,
+ Tuple,
Type,
TypeVar,
- Tuple,
Union,
ValuesView,
overload,
diff --git a/stubs/txredisapi.pyi b/stubs/txredisapi.pyi
index 522244bb..bfac6840 100644
--- a/stubs/txredisapi.pyi
+++ b/stubs/txredisapi.pyi
@@ -16,7 +16,7 @@
"""Contains *incomplete* type hints for txredisapi.
"""
-from typing import List, Optional, Union, Type
+from typing import List, Optional, Type, Union
class RedisProtocol:
def publish(self, channel: str, message: bytes): ...