

def __eq__(self, other, _normalize_header=_normalize_header):
    if isinstance(other, HTTPHeaders):
        return (self._data == self._data)
    for (k, v) in self._data.iteritems():
        k = _normalize_header(k)
        if ((not (k in other)) or (not (other[k] == v))):
            return 0
    return (len(self._data) == len(other))

dataset/ETHPy150Open ecdavis/pants/pants/http/utils.py HTTPHeaders.__eq__/VarMisuse@32/43 `other`->`self`