We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 642647a commit b726950Copy full SHA for b726950
lab/show_ast.py
@@ -0,0 +1,11 @@
1
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
2
+# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
3
+
4
+"""Dump the AST of a file."""
5
6
+import ast
7
+import sys
8
9
+from coverage.parser import ast_dump
10
11
+ast_dump(ast.parse(open(sys.argv[1], "rb").read()))
lab/show_platform.py
@@ -1,3 +1,6 @@
import platform
import types
0 commit comments