@line_magic<EOL><INDENT>def page(self, parameter_s='<STR_LIT>'):<DEDENT>
<EOL>opts, args = self.parse_options(parameter_s, '<STR_LIT:r>')<EOL>raw = '<STR_LIT:r>' in opts<EOL>oname = args and args or '<STR_LIT:_>'<EOL>info = self.shell._ofind(oname)<EOL>if info['<STR_LIT>']:<EOL><INDENT>txt = (raw and str or pformat)( info['<STR_LIT>'] )<EOL>page.page(txt)<EOL><DEDENT>else:<EOL><INDENT>print('<STR_LIT>' % oname)<EOL><DEDENT>
Pretty print the object and display it through a pager.

        %page [options] OBJECT

        If no object is given, use _ (last output).

        Options:

          -r: page str(object), don't pretty-print it.