aboutsummaryrefslogtreecommitdiffstats
path: root/netlib
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-07-19 18:09:33 -0700
committerMaximilian Hils <git@maximilianhils.com>2016-07-19 18:09:33 -0700
commitb27db1fc812b5b9935599caf5d0a2cdfe34d7322 (patch)
tree8ab0337fa9fa51daad4c212fff534297a5431852 /netlib
parent1ff800598a9edf56c6e7eafda0e9558ab6a88489 (diff)
downloadmitmproxy-b27db1fc812b5b9935599caf5d0a2cdfe34d7322.tar.gz
mitmproxy-b27db1fc812b5b9935599caf5d0a2cdfe34d7322.tar.bz2
mitmproxy-b27db1fc812b5b9935599caf5d0a2cdfe34d7322.zip
minor fixes
Diffstat (limited to 'netlib')
-rw-r--r--netlib/encoding.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/netlib/encoding.py b/netlib/encoding.py
index 8b67b543..e3cf5f30 100644
--- a/netlib/encoding.py
+++ b/netlib/encoding.py
@@ -12,7 +12,7 @@ from typing import Union # noqa
def decode(obj, encoding, errors='strict'):
- # type: (Union[str, bytes], str) -> Union[str, bytes]
+ # type: (Union[str, bytes], str, str) -> Union[str, bytes]
"""
Decode the given input object
@@ -36,7 +36,7 @@ def decode(obj, encoding, errors='strict'):
def encode(obj, encoding, errors='strict'):
- # type: (Union[str, bytes], str) -> Union[str, bytes]
+ # type: (Union[str, bytes], str, str) -> Union[str, bytes]
"""
Encode the given input object