Removed operators and synonymous with and repr

suggest change

In Python 2, <> is a synonym for !=; likewise, foo is a synonym for repr(foo).

>>> 1 <> 2
True
>>> 1 <> 1
False
>>> foo = 'hello world'
>>> repr(foo)
"'hello world'"
>>> `foo`
"'hello world'"
>>> 1 <> 2
  File "<stdin>", line 1
    1 <> 2
       ^
SyntaxError: invalid syntax
>>> `foo`
  File "<stdin>", line 1
    `foo`
    ^
SyntaxError: invalid syntax

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents