method: code.Source.__eq__

*Not documented*
    def __eq__(self, other): 

origin: code.Source

where:

function source:

def __eq__(self, other): 
    try:
        return self.lines == other.lines 
    except AttributeError: 
        if isinstance(other, str): 
            return str(self) == other 
        return False 

call sites:

called in /home/johnny/projects/merlinux/py/dist/py/code/testing/test_source.py

traceback code.Source.__eq__.0

called in /home/johnny/projects/merlinux/py/dist/py/code/testing/test_source.py

traceback code.Source.__eq__.1