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

Method default_option

IPython/core/magic.py:656–661  ·  view source on GitHub ↗

Make an entry in the options_table for fn, with value optstr

(self, fn, optstr)

Source from the content-addressed store, hash-verified

654 return opts,args
655
656 def default_option(self, fn, optstr):
657 """Make an entry in the options_table for fn, with value optstr"""
658
659 if fn not in self.lsmagic():
660 error("%s is not a magic function" % fn)
661 self.options_table[fn] = optstr
662
663
664class MagicAlias(object):

Callers

nothing calls this directly

Calls 1

lsmagicMethod · 0.45

Tested by

no test coverage detected