def __init__(self, socket): 'Initialize the Zero SPOTS Protocol object.' self.__sock = socket self.__send = _thread.allocate_lock() self.__recv = _thread.allocate_lock() self.__temp = ''