Merge hell

This commit is contained in:
rocky
2024-11-09 06:43:05 -05:00
parent 9979997d50
commit 3fc5e16c3e

View File

@@ -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: