Python3 syntax in PyCharm

后端 未结 1 1265
不知归路
不知归路 2021-01-05 16:48

I would like to use python3 syntax in PyCharm 2016.2 and have configured the interpreter to use python3.5. The code runs fine when I execute it but PyCharm complains about p

相关标签:
1条回答
  • 2021-01-05 17:25

    Settings -> Editor -> Inspections -> Python -> Code compatibility inspection

    Either disable it entirely or unselect Python 2.X

    0 讨论(0)
提交回复
热议问题