Skip to content

Commit

Permalink
Sync with uncompyle6
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Feb 11, 2024
1 parent ca336b9 commit 041175a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions decompyle3/semantics/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ def n_mkfunc(self, node):
if isinstance(mkfunc_pattr, tuple):
assert isinstance(mkfunc_pattr, tuple)
assert len(mkfunc_pattr) == 4 and isinstance(mkfunc_pattr, int)

if len(code.co_consts) > 0 and isinstance(code.co_consts[0], str):
docstring_node = SyntaxTree(
"docstring",
Expand Down

0 comments on commit 041175a

Please sign in to comment.