为什么Pydev给内置关键字提供语法错误? [英] Why is Pydev giving a syntax error for built-in keywords?

查看:205
本文介绍了为什么Pydev给内置关键字提供语法错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么Pydev给我内置的Python函数(如str())的语法错误?


未定义的变量:str


未定义的变量:False



未定义的变量:float



解决方案

在PyDev配置中删除并重新添加python解释器。确保项目正在使用新添加的解释器。


Why is Pydev giving me syntax errors for built-in python functions like str()?

Undefined variable: str

Undefined variable: False

Undefined variable: float

解决方案

Remove and re-add the python interpreter in the PyDev configuration. Make sure that the project is using the newly added interpreter.

这篇关于为什么Pydev给内置关键字提供语法错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆