def __get_instructions(self):
if self.mode == '<STR_LIT:c>':<EOL><INDENT>c, m = utils.recv(self.__s)<EOL>inst = [(c, m, self.__s)]<EOL><DEDENT>else:<EOL><INDENT>inst = []<EOL>with self.__client_list_lock:<EOL><INDENT>for com in self.clients:<EOL><INDENT>c, m = utils.recv(com)<EOL>if c is not None:<EOL><INDENT>inst.append((c, m, com))<EOL><DEDENT><DEDENT><DEDENT><DEDENT>return inst<EOL>
Get info from sockets