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

bundles / IPython 9.10.0 / IPython / core / completer / back_unicode_name_matches

function

IPython.core.completer:back_unicode_name_matches

source: /IPython/core/completer.py :1733

Signature

def   back_unicode_name_matches ( text : str )  →  tuple[str, Sequence[str]]

Summary

Match Unicode characters back to Unicode name

Extended Summary

This does -> \snowman

Note that snowman is not a valid python3 combining character but will be expanded. Though it will not recombine back to the snowman character by the completion machinery.

This will not either back-complete standard sequences like n, b ...

Returns

: Return a tuple with two elements:
: - The Unicode character that was matched (preceded with a backslash), or

empty string,

: - a sequence (of 1), name for the match Unicode character, preceded by

backslash, or empty if no match.

Aliases

  • IPython.core.completer.back_unicode_name_matches