MCPcopy Create free account
hub / github.com/ipython/ipython / clear_aliases

Method clear_aliases

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

Source from the content-addressed store, hash-verified

246 raise ValueError('%s is not an alias' % name)
247
248 def clear_aliases(self):
249 for name, cmd in self.aliases:
250 self.undefine_alias(name)
251
252 def retrieve_alias(self, name):
253 """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