diff options
Diffstat (limited to 'ast2json/ast2json.py')
-rw-r--r-- | ast2json/ast2json.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ast2json/ast2json.py b/ast2json/ast2json.py index 7f52687..3460969 100644 --- a/ast2json/ast2json.py +++ b/ast2json/ast2json.py @@ -55,8 +55,3 @@ def get_value(attr_value): return ast2json(attr_value) else: raise Exception("unknow case for '%s' of type '%s'" % (attr_value, type(attr_value))) - - -if __name__ == '__main__': - import json - print(json.dumps(ast2json(parse(open(__file__, "r").read())), indent=4)) |