docs: def load_ipython_extension(ipython):
      """Register %q and %%q magics and pretty display for K objects"""
      ipython.register_magic_function(q, 'line_cell')
      fmr = ipython.display_formatter.formatters['text/plain']
      fmr.for_type(pyq.K, _q_formatter)