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.
2 parents c4f0cbe + 9774af5 commit fa6f127Copy full SHA for fa6f127
pytrace-generator/main.py
@@ -16,7 +16,7 @@ def eprint(*args, **kwargs):
16
print(*args, file=sys.stderr, **kwargs)
17
18
type_name_regex = re.compile("<class '(?:__main__\\.)?(.*)'>")
19
-import_regex = re.compile(r"^(?:[^'\"]+\s)?import ")
+import_regex = re.compile(r"^(?:[^'\"]+\s)?import[\s*]")
20
21
# Frame objects:
22
# https://docs.python.org/3/reference/datamodel.html#frame-objects
0 commit comments