Closed seal7 closed 1 hour ago
Bot detected the issue body's language is not English, translate it automatically.
Title: with statement syntax problem
@seal7
这种写法是在python 3.10支持的
参考更新日志: https://docs.python.org/zh-cn/3.11/whatsnew/3.10.html https://github.com/python/cpython/issues/56991
在python 3.6你可以将括号去掉,但还是推荐在3.10版本以上运行本项目
学习了 感谢回复
Bot detected the issue body's language is not English, translate it automatically.
Learned. Thanks for the reply.
⚠️ 搜索是否存在类似issue
📜 功能描述
在main.py 1418行中
这里with后面的括号是什么新写法吗?我使用python3.6启动项目会报语法错误,把括号去掉就正常了
🌐 举例(可选)
No response
💡 动机
No response
📚 附加信息
No response