Commit 0283cffe authored by Jason Madden's avatar Jason Madden
parent 80671333
......@@ -201,6 +201,7 @@ class Traceback(object):
if hasattr(code, "replace"):
# Python 3.8 and newer
code = code.replace(co_argcount=0,
co_filename=f_code.co_filename, co_name=f_code.co_name,
co_freevars=(), co_cellvars=())
elif PY3:
code = CodeType(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment