Files
python-keystoneclient/keystoneclient/tests
yuyafei ef34175095 Add __ne__ built-in function
In Python 3 __ne__ by default delegates to __eq__ and inverts the
result, but in Python 2 they urge you to define __ne__ when you
define __eq__ for it to work properly [1].There are no implied
relationships among the comparison operators. The truth of x==y
does not imply that x!=y is false. Accordingly, when defining
__eq__(), one should also define __ne__() so that the operators
will behave as expected.
[1]https://docs.python.org/2/reference/datamodel.html#object.__ne__
Also fixes spelling errors:resoruces.

Change-Id: Iae4ce0fe84fae810711cc8c3fdb94eb9ca1d772e
Closes-Bug: #1586268
2016-08-11 11:19:30 +08:00
..
2016-08-03 09:50:13 -03:00
2015-12-15 18:08:38 -05:00
2016-08-11 11:19:30 +08:00
2013-09-24 12:34:17 +10:00