class_docstr: Magics that provide central IPython functionality.
  
  These are various magics that don't fit into specific categories but that
  are all part of the base 'IPython experience'.
docstr: 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.
code: def page(self, parameter_s=""):
      """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."""
  
      # After a function contributed by Olivier Aubert, slightly modified.
  
      # Process options/args
      opts, args = self.parse_options(parameter_s, "r")
      raw = "r" in opts
  
      oname = args and args or "_"
      info = self.shell._ofind(oname)
      if info.found:
          if raw:
              txt = str(info.obj)
          else:
              txt = pformat(info.obj)
          page.page(txt)
      else:
          print("Object `%s` not found" % oname)
  
imports: from logging import error
  import io
  import os
  from pprint import pformat
  import sys
  from warnings import warn
  from traitlets.utils.importstring import import_item
  from IPython.core import magic_arguments, page
  from IPython.core.error import UsageError
  from IPython.core.magic import Magics, magics_class, line_magic, magic_escapes
  from IPython.utils.text import format_screen, dedent, indent
  from IPython.testing.skipdoctest import skip_doctest
  from IPython.utils.ipstruct import Struct
label_desc: Use image node_id 5 for calling the BasicMagics obj's underlying member method code with example usage: obj.page(parameter_s) without return types