{ } Raw JSON

bundles / IPython 9.13.0 / IPython / core / completer / protect_filename

function

IPython.core.completer:protect_filename

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

Signature

def   protect_filename ( s : str protectables : str = ()[]{}?=\|;:'#*"^& )  →  str

Summary

Escape a string to protect certain characters.

Aliases

  • IPython.core.completer.protect_filename