You are viewing an older version (9.10.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.10.0 / IPython / core / magic / compress_dhist

function

IPython.core.magic:compress_dhist

source: /IPython/core/magic.py :65

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