

def _combine(self, other, conn):
    if (not isinstance(other, Q)):
        raise TypeError(other)
    obj = type(self)()
    obj.add(self, conn)
    obj.add(other, conn)
    return obj

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/db/models/query_utils.py Q._combine/original