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

bundles / IPython latest / IPython / core / magic / output_can_be_silenced

function

IPython.core.magic:output_can_be_silenced

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

Signature

def output_can_be_silenced(magic_func: _F) → _F

Summary

Mark a magic function so its output may be silenced.

Extended Summary

The output is silenced if the Python code used as a parameter of the magic ends in a semicolon, not counting a Python comment that can follow it.

Aliases

  • IPython.core.magic.output_can_be_silenced