class_docstr: Magics to interact with the underlying OS (shell-type functionality).
      
class_docstr_tok: ["Magics","to","interact","with","the","underlying","OS","(","shell-type","functionality",")","."]
docstr: Remove an alias
docstr_tok: ["Remove","an","alias"]
code: def unalias(self, parameter_s=""):
      """Remove an alias"""
  
      aname = parameter_s.strip()
      try:
          self.shell.alias_manager.undefine_alias(aname)
      except ValueError as e:
          print(e)
          return
  
      stored = self.shell.db.get("stored_aliases", {})
      if aname in stored:
          print("Removing %stored alias", aname)
          del stored[aname]
          self.shell.db["stored_aliases"] = stored
  
imports: from __future__ import print_function
  import io
  import os
  import re
  import sys
  from pprint import pformat
  from IPython.core import magic_arguments
  from IPython.core import oinspect
  from IPython.core import page
  from IPython.core.alias import AliasError, Alias
  from IPython.core.error import UsageError
  from IPython.core.magic import Magics, compress_dhist, magics_class, line_magic, cell_magic, line_cell_magic
  from IPython.testing.skipdoctest import skip_doctest
  from IPython.utils.openpy import source_to_unicode
  from IPython.utils.process import abbrev_cwd
  from IPython.utils import py3compat
  from IPython.utils.py3compat import unicode_type
  from IPython.utils.terminal import set_term_title
label_desc: Use image node_id 2 for calling the OSMagics obj's underlying member method code with example usage: obj.unalias(parameter_s) without return types