bundles / IPython 9.17.0 / IPython / core / completer / protect_filename
function
IPython.core.completer:protect_filename
Signature
def protect_filename(s: str, protectables: str = ()[]{}?=\|;:'#*"^&) → strSummary
Escape a string to protect certain characters.
Aliases
IPython.core.completer.protect_filename