2016-09-16 46 views
2

我正在使用this解决方案在pycharm Community Edition 4.5.4中合并python中的两个字典。但是,下面的代码是显示错误,虽然当我运行的代码它完美的作品:如何在pycharm社区版中抑制错误?

feats = {**feats, **feature_detector(words)} # one big dictionary 

我怎样才能在pycharm禁用它?

EDIT

下面是截图:

enter image description here

enter image description here

enter image description here

enter image description here

这里是我打Alt + Enter键后,即可获取选项:

enter image description here

+0

请附上带错误的截图 – user2235698

+0

看看编辑,我附上截图 –

+0

在右下角,你有一张脸。 (在该锁的旁边)。点击它,然后选择任何'语法'。这只会强调严重的格式问题。 或者您可以点击“Alt + Enter”并选择“忽略像这样的错误”。但我认为每次打开PyCharm都必须完成 – SnuKies

回答

1

嗯,我想通了,更新PyCharm可能有助于解决这个问题。所以我下载了最新版本(2016.2.3)。然后没有错误。