improves exception output some more
This commit is contained in:
parent
d2c41b6670
commit
f1c1a12ece
1 changed files with 2 additions and 0 deletions
|
@ -757,6 +757,8 @@ class Main:
|
||||||
|
|
||||||
if method_name == "<module>":
|
if method_name == "<module>":
|
||||||
method_type = "module"
|
method_type = "module"
|
||||||
|
elif method_name == "<listcomp>":
|
||||||
|
method_type = "a list comprehension"
|
||||||
elif method_name == "<genexpr>":
|
elif method_name == "<genexpr>":
|
||||||
method_type = "a generator expression"
|
method_type = "a generator expression"
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue