From b27db1fc812b5b9935599caf5d0a2cdfe34d7322 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Tue, 19 Jul 2016 18:09:33 -0700 Subject: minor fixes --- netlib/encoding.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'netlib') 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 -- cgit v1.2.3