def writeCollectionBegin(self, etype, size):
    assert (VALUE_WRITE, CONTAINER_WRITE) in self.state, self.state
    if size <= 14:
      self.__writeUByte(size << 4 | CTYPES[etype])
    else:
      self.__writeUByte(0xf0 | CTYPES[etype])
      self.__writeSize(size)
    self.__containers.append(self.state)
    self.state = CONTAINER_WRITE
dataset/ETHPy150Open JT5D/Alfred-Popclip-Sublime/Sublime Text 2/SublimeEvernote/lib/thrift/protocol/TCompactProtocol.py/TCompactProtocol.writeCollectionBegin/swapped operands of `in`