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

bundles / IPython 9.10.0 / IPython / terminal / interactiveshell / black_reformat_handler

function

IPython.terminal.interactiveshell:black_reformat_handler

source: /IPython/terminal/interactiveshell.py :136

Signature

def   black_reformat_handler ( text_before_cursor )

Summary

We do not need to protect against error, this is taken care at a higher level where any reformat error is ignored. Indeed we may call reformatting on incomplete code.

Aliases

  • IPython.terminal.interactiveshell.black_reformat_handler