def __ne__(self, other):
        """
        PythonModules with different names are not equal.
        """
        if not isinstance(other, PythonModule):
            return True
        return other.name != self.name

        PythonModules with different names are not equal.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/modules.py