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

bundles / IPython 9.3.0 / IPython / core / debugger / decorate_fn_with_doc

function

IPython.core.debugger:decorate_fn_with_doc

source: /IPython/core/debugger.py:186

Signature

def decorate_fn_with_doc(new_fn, old_fn, additional_text = '')

Summary

Make new_fn have old_fn's doc string. This is particularly useful for the do_... commands that hook into the help system. Adapted from from a comp.lang.python posting by Duncan Booth.

Aliases

  • IPython.core.debugger.decorate_fn_with_doc