SE/relacion.py
def intersection(self, other):
        '''
        Intersection operation. The result will contain items present in both
        operands.
        Will return an empty one if there are no common items.
        '''
        other = self._rearrange(other)  # Rearranges attributes' order
        newt = relation()
        newt.header = Header(self.header)

        newt.content = self.content.intersection(other.content)
        return newt

        Intersection operation. The result will contain items present in both
        operands.
        Will return an empty one if there are no common items.
        
Intersection operation. The result will contain items present in both
operands.
Will return an empty one if there are no common items.
Intersection operation . The result will contain items present in both operands . Will return an empty one if there are no common items .
def intersection(self, other):
        other = self._rearrange(other)  
        newt = relation()
        newt.header = Header(self.header)
        newt.content = self.content.intersection(other.content)
        return newt
def intersection ( self , other ) : other = self . _rearrange ( other ) newt = relation ( ) newt . header = Header ( self . header ) newt . content = self . content . intersection ( other . content ) return newt
Intersection operation.
Intersection operation .
'''
        Intersection operation. The result will contain items present in both
        operands.
        Will return an empty one if there are no common items.
        ''' # Rearranges attributes' order
self
other