python 是2.7
比如像这样 :from defs import raiseApiEx as err
这一行直接灰色,下面用到 err 的时候,直接标波浪线提示了。
以前在eclipse上没有这种,我听说pychram中语法检测比较严格,
但是from defs import raiseApiEx as err不是语法支持的吗?
是违法了什么规定?虽然不影响运行,但是想知道为什么要提示。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
在python中不建议使用驼峰的写法