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

Method _dir_hist_default

IPython/core/history.py:487–491  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

485 dir_hist = List()
486 @default('dir_hist')
487 def _dir_hist_default(self):
488 try:
489 return [os.getcwd()]
490 except OSError:
491 return []
492
493 # A dict of output history, keyed with ints from the shell's
494 # execution count.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected