Esempio n. 1
0
 def __eq__(self, rhs):
     return (isinstance(rhs, Section)
             and compare_nullable_icase(self.id, rhs.id)
             and self.inherits == rhs.inherits and self.exits == rhs.exits
             and Scope.__eq__(self, rhs))
Esempio n. 2
0
 def __eq__(self, rhs):
     return (isinstance(rhs, Section) and
         compare_nullable_icase(self.id, rhs.id) and
         self.inherits == rhs.inherits and
         self.exits == rhs.exits and
         Scope.__eq__(self, rhs))