This is a development version (latest) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython latest / IPython / core / debugger / decorate_fn_with_doc

function

IPython.core.debugger:decorate_fn_with_doc

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

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