MCPcopy Create free account
hub / github.com/ipython/ipython / _tr_quote2

Function _tr_quote2

IPython/core/inputtransformer2.py:348–351  ·  view source on GitHub ↗

Translate lines escaped with a semicolon: ;

(content)

Source from the content-addressed store, hash-verified

346 return '%s("%s")' % (name, '", "'.join(args.split()) )
347
348def _tr_quote2(content):
349 "Translate lines escaped with a semicolon: ;"
350 name, _, args = content.partition(' ')
351 return '%s("%s")' % (name, args)
352
353def _tr_paren(content):
354 "Translate lines escaped with a slash: /"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected