Skip to content

Commit

Permalink
Resolve conflict fp.open
Browse files Browse the repository at this point in the history
  • Loading branch information
ansharlubis committed Mar 21, 2022
1 parent c389957 commit 8c3c7a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grammar/asdl_cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1556,6 +1556,7 @@ def main(argv):
if subs["MOD"] == "PYTHON":
subs["MOD"] = "Python::AST"
subs["mod"] = "ast"
is_asr = (mod.name.upper() == "ASR")
fp = open(out_file, "w", encoding="utf-8")
try:
fp.write(HEAD % subs)
Expand Down

0 comments on commit 8c3c7a1

Please sign in to comment.