MCPcopy Index your code
hub / github.com/ipython/ipython / clear_aliases

Method clear_aliases

IPython/core/alias.py:258–260  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

256 raise ValueError('%s is not an alias' % name)
257
258 def clear_aliases(self):
259 for name, _ in self.aliases:
260 self.undefine_alias(name)
261
262 def retrieve_alias(self, name):
263 """Retrieve the command to which an alias expands."""

Callers 3

resetMethod · 0.80
test_rehashxFunction · 0.80
test_alias_lifecycleFunction · 0.80

Calls 1

undefine_aliasMethod · 0.95

Tested by 2

test_rehashxFunction · 0.64
test_alias_lifecycleFunction · 0.64