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

Function _tr_help

IPython/core/inputtransformer2.py:318–326  ·  view source on GitHub ↗

Translate lines escaped with: ? A naked help line should fire the intro help screen (shell.show_usage())

(content)

Source from the content-addressed store, hash-verified

316 (next_input, t_magic_name, t_magic_arg_s)
317
318def _tr_help(content):
319 """Translate lines escaped with: ?
320
321 A naked help line should fire the intro help screen (shell.show_usage())
322 """
323 if not content:
324 return 'get_ipython().show_usage()'
325
326 return _make_help_call(content, '?')
327
328def _tr_help2(content):
329 """Translate lines escaped with: ??

Callers

nothing calls this directly

Calls 1

_make_help_callFunction · 0.70

Tested by

no test coverage detected