Skip to content

Commit b5815b6

Browse files
committed
added comment on the use of inspect module
1 parent db35262 commit b5815b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

14-ast.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import ast
22

3+
# This could come from a variety of sources: not just text. For instance, we
4+
# could use inspect.get_source()
35
CODE = """
46
from dataclasses import dataclass
57

0 commit comments

Comments
 (0)