]> granicus.if.org Git - python/commit
Small fixes in Parser/asdl.py - no change in functionality.
authorEli Bendersky <eliben@gmail.com>
Thu, 26 Sep 2013 13:31:32 +0000 (06:31 -0700)
committerEli Bendersky <eliben@gmail.com>
Thu, 26 Sep 2013 13:31:32 +0000 (06:31 -0700)
commitb788a385cd0fa71ba068a16c237e220a03862dc7
tree100ab841350839f90706651afb196dea0b896e39
parente03ea37a7bea48c46e6d96851f471db0f3c8e6e2
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.
Parser/asdl.py