You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
Merge hell
This commit is contained in:
@@ -181,9 +181,6 @@ def is_lambda_mode(compile_mode):
|
||||
|
||||
|
||||
def print_docstring(self, indent, docstring):
|
||||
if isinstance(docstring, bytes):
|
||||
docstring = docstring.decode("utf8", errors="backslashreplace")
|
||||
|
||||
quote = '"""'
|
||||
if docstring.find(quote) >= 0:
|
||||
if docstring.find("'''") == -1:
|
||||
|
@@ -26,7 +26,7 @@ from uncompyle6.semantics.consts import (
|
||||
PRECEDENCE,
|
||||
minint,
|
||||
)
|
||||
from uncompyle6.semantics.helper import find_code_node, flatten_list
|
||||
from uncompyle6.semantics.helper import find_code_node, flatten_list, print_docstring
|
||||
from uncompyle6.util import better_repr
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user