Summary
Shortlog
Changelog
Graph
Tags
Bookmarks
Branches
Files
Help
Search
Lichen
tests/operator_syntax.py
279:22aea7bc1acd
2016-11-29
Paul Boddie
raw
annotate
files
changeset
graph
Moved __contains__ to the sequence module, providing an implementation. Added tests of "in", "not in" and operator syntax.
1
print
1
==
1
# True
2
print
1
!=
1
# False
3
print
1
==
"one"
# False
4
print
1
!=
"one"
# True