aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/io/tnetstring.py
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/io/tnetstring.py')
-rw-r--r--mitmproxy/io/tnetstring.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/io/tnetstring.py b/mitmproxy/io/tnetstring.py
index 82c92f33..aa1f5670 100644
--- a/mitmproxy/io/tnetstring.py
+++ b/mitmproxy/io/tnetstring.py
@@ -53,7 +53,7 @@ def dumps(value: TSerializable) -> bytes:
# This uses a deque to collect output fragments in reverse order,
# then joins them together at the end. It's measurably faster
# than creating all the intermediate strings.
- q = collections.deque() # type: collections.deque
+ q: collections.deque = collections.deque()
_rdumpq(q, 0, value)
return b''.join(q)