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

bundles / IPython 9.18.0.dev / IPython / terminal / interactiveshell / _backward_compat_continuation_prompt_tokens

function

IPython.terminal.interactiveshell:_backward_compat_continuation_prompt_tokens

source: /dev/ipython/IPython/terminal/interactiveshell.py:74

Signature

def _backward_compat_continuation_prompt_tokens(method, width: int, *, lineno: int, wrap_count: int)

Summary

Sagemath use custom prompt and we broke them in 8.19.

Extended Summary

make sure to pass only width if method only support width

Aliases

  • IPython.terminal.interactiveshell._backward_compat_continuation_prompt_tokens