关于修改goto文件事宜,根据指示“粘贴复制”保存后,运行出现以下问题,可以帮忙处理一下么?
D:\Python311\Virt\Scripts\python.exe C:\Users\inspur\PycharmProjects\pythonProject\004.py
Traceback (most recent call last):
File "C:\Users\inspur\PycharmProjects\pythonProject\004.py", line 6, in <module>
@with_goto # 必须有
^^^^^^^^^
File "D:\Python311\Lib\site-packages\goto.py", line 215, in with_goto
_patch_code(func_or_code.__code__),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\site-packages\goto.py", line 207, in _patch_code
return _make_code(code, _array_to_bytes(buf))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\site-packages\goto.py", line 60, in _make_code
return types.CodeType(*args)
^^^^^^^^^^^^^^^^^^^^^
TypeError: code() argument 13 must be str, not int
进程已结束,退出代码1