Move fn from module to code
Modules have a __file__ attribute but that's only used for the module repr. The filename that's used in tracebacks is stored in the code object.
Showing
Please register or sign in to comment
Modules have a __file__ attribute but that's only used for the module repr. The filename that's used in tracebacks is stored in the code object.