def _handle_pyout(self, msg):
self.log.debug("<STR_LIT>", msg.get('<STR_LIT:content>', '<STR_LIT>'))<EOL>if not self._hidden and self._is_from_this_session(msg):<EOL><INDENT>text = msg['<STR_LIT:content>']['<STR_LIT:data>']<EOL>self._append_plain_text(text + '<STR_LIT:\n>', before_prompt=True)<EOL><DEDENT>
Handle display hook output.