Small fixes in Parser/asdl.py - no change in functionality. · python/cpython@b788a38 · GitHub
Skip to content

Commit b788a38

Browse files
committed
Small fixes in Parser/asdl.py - no change in functionality.
1. Make it work when invoked directly from the command-line. It was failing due to a couple of stale function/class usages in the __main__ section. 2. Close the parsed file in the parse() function after opening it.
1 parent e03ea37 commit b788a38

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

Parser/asdl.py

Lines changed: 6 additions & 4 deletions

0 commit comments

Comments
 (0)