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

Function _tr_quote

IPython/core/inputtransformer.py:242–245  ·  view source on GitHub ↗

Translate lines escaped with: ,

(line_info)

Source from the content-addressed store, hash-verified

240 return tpl % (line_info.pre, t_magic_name, t_magic_arg_s)
241
242def _tr_quote(line_info):
243 "Translate lines escaped with: ,"
244 return '%s%s("%s")' % (line_info.pre, line_info.ifun,
245 '", "'.join(line_info.the_rest.split()) )
246
247def _tr_quote2(line_info):
248 "Translate lines escaped with: ;"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected