diff --git a/uncompyle6/semantics/helper.py b/uncompyle6/semantics/helper.py index 12ed09eb..73bf7f6b 100644 --- a/uncompyle6/semantics/helper.py +++ b/uncompyle6/semantics/helper.py @@ -181,14 +181,6 @@ def is_lambda_mode(compile_mode): def print_docstring(self, indent, docstring): - if isinstance(docstring, bytes): - try: - docstring_try = docstring.decode("utf8", errors="backslashreplace") - except Exception: - docstring = str(docstring) - else: - docstring = docstring_try - quote = '"""' if docstring.find(quote) >= 0: if docstring.find("'''") == -1: