def _inputcooker_getc(self, block=True):
if self.rawq:<EOL><INDENT>ret = self.rawq[<NUM_LIT:0>]<EOL>self.rawq = self.rawq[<NUM_LIT:1>:]<EOL>return ret<EOL><DEDENT>if not block:<EOL><INDENT>if not self.inputcooker_socket_ready():<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT><DEDENT>ret = self.sock.recv(<NUM_LIT:20>)<EOL>self.eof = not(ret)<EOL>self.rawq = self.rawq + ret<EOL>if self.eof:<EOL><INDENT>raise EOFError<EOL><DEDENT>return self._inputcooker_getc(block)<EOL>
Get one character from the raw queue. Optionally blocking.
        Raise EOFError on end of stream. SHOULD ONLY BE CALLED FROM THE
        INPUT COOKER.