bundles / IPython 9.11.0 / IPython / core / magic / compress_dhist
function
IPython.core.magic:compress_dhist
source: /IPython/core/magic.py :67
Signature
def compress_dhist ( dh : list[str] ) → list[str] 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