minus-squareZoteTheMighty@lemmy.ziptoProgrammer Humor@programming.dev•wait what...linkfedilinkarrow-up4·22 hours agoIt can also happen in Python if you edit the file after runtime. It parses the code on import, but re-reads the file as text during the error message, so if you added or deleted lines, the error report can report a dubious line. linkfedilink
It can also happen in Python if you edit the file after runtime. It parses the code on import, but re-reads the file as text during the error message, so if you added or deleted lines, the error report can report a dubious line.