pyVNC icon indicating copy to clipboard operation
pyVNC copied to clipboard

Python 3.8: Fix SyntaxWarning: is with a literal

Open elboulangero opened this issue 1 year ago • 0 comments

Fixes:

/usr/lib/python3/dist-packages/pyVNC/Client.py:61: SyntaxWarning: "is" with a literal. Did you mean "=="? if event is "Left": /usr/lib/python3/dist-packages/pyVNC/Client.py:63: SyntaxWarning: "is" with a literal. Did you mean "=="? elif event is "Middle": /usr/lib/python3/dist-packages/pyVNC/Client.py:65: SyntaxWarning: "is" with a literal. Did you mean "=="? elif event is "Right":

elboulangero avatar Mar 03 '23 03:03 elboulangero