Skip to content

Commit dbfa29f

Browse files
author
Josh Hoyt
committed
[project @ Add __ne__ to Symbol class]
1 parent 6f220b6 commit dbfa29f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

openid/oidutil.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,8 @@ def __init__(self, name):
9292
def __eq__(self, other):
9393
return type(self) is type(other) and self.name == other.name
9494

95+
def __ne__(self, other):
96+
return not (self == other)
97+
9598
def __repr__(self):
9699
return '<Symbol %s>' % (self.name,)

0 commit comments

Comments
 (0)