diff options
Diffstat (limited to 'netlib')
-rw-r--r-- | netlib/encoding.py | 4 |
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 |