Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
trac 22484 fixing a detail
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Chapoton committed Mar 1, 2017
1 parent 6d91790 commit 78d8568
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sage/structure/parent.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2881,7 +2881,9 @@ cdef class Set_PythonType_class(Set_generic):
return (op == Py_EQ)
if not isinstance(other, Set_PythonType_class):
return (op == Py_NE)
b = (self._type == other._type)
s = <Set_PythonType_class>self
o = <Set_PythonType_class>other
b = (s._type == o._type)
return b == (op == Py_EQ)

def __contains__(self, x):
Expand Down

0 comments on commit 78d8568

Please sign in to comment.