def __getattr__(self, name):
    if hasattr(self.protocol, name):
      member = getattr(self.protocol, name)
      if [MethodType, UnboundMethodType, FunctionType, LambdaType, BuiltinFunctionType, BuiltinMethodType] in type(member):
        return lambda *args, **kwargs: self._wrap(member, args, kwargs)
      else:
        return member
    raise AttributeError(name)
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/thrift-0.9.1/src/protocol/TProtocolDecorator.py/TProtocolDecorator.__getattr__/swapped operands of `in`