def recv(self, sock):
        'Receives one Python object over a socket.'
        return cPickle.loads(''.join([z_string.code_string(code) for code in self.recvall(sock).split('\x00')]))
Receives one Python object over a socket.
recipes/Python/496872_zservicepy/recipe-496872.py