bundles / IPython 9.5.0 / IPython / core / magic / compress_dhist
function
IPython.core.magic:compress_dhist
source: /IPython/core/magic.py :59
Signature
def compress_dhist ( dh ) Summary
Compress a directory history into a new one with at most 20 entries.
Extended Summary
Return a new list made from the first and last 10 elements of dhist after removal of duplicates.
Aliases
-
IPython.core.magic.compress_dhist