deoplete-plugins / deoplete-go

Asynchronous Go completion for Neovim. deoplete source for Go.
MIT License
424 stars 28 forks source link

Python complaining about syntax warning #158

Closed b0o closed 4 years ago

b0o commented 4 years ago

I'm getting the following warning message inside nvim:

github.com/deoplete-plugins/deoplete-go/rplugin/python3/deoplete/sources/deople
te_go/cgo.py:47: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if chunk_spelling == 'main' or chunk_spelling.find('_') is 0:
$ python --version
Python 3.8.0

$ nvim --version
NVIM v0.4.3
Build type: Release
...

$ git rev-parse --short HEAD
b822731