Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion uncompyle6/semantics/pysource.py
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@ def build_ast(
if (
load_const.kind == "LOAD_CONST"
and load_const.linestart is None
and load_const.attr is None
and ((load_const.pattr is None) if self.version < (3, 0, 0) else (load_const.attr is None))
):
# Delete LOAD_CONST (None) RETURN_VALUE
del tokens[-2:]
Expand Down