• ZoteTheMighty@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    10 hours ago

    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.