Python

Python

Made by DeepSource

Use of a non-existent operator detected PYL-E0107

Bug risk
Major

Detected the use of one of the C-style pre/post increment or decrement operators, -- and ++, which don't exist in Python. Use the += or -= operators instead. This will cause an error:

x = 50
x++

But, doing this is okay:

x = 50
x += 1