MCPcopy Index your code
hub / github.com/bpython/bpython / version_help_text

Method version_help_text

bpython/curtsiesfrontend/repl.py:2114–2139  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2112 return self.version_help_text() + "\n" + self.key_help_text()
2113
2114 def version_help_text(self) -> str:
2115 help_message = _(
2116 """
2117Thanks for using bpython!
2118
2119See http://bpython-interpreter.org/ for more information and http://docs.bpython-interpreter.org/ for docs.
2120Please report issues at https://github.com/bpython/bpython/issues
2121
2122Features:
2123Try using undo ({config.undo_key})!
2124Edit the current line ({config.edit_current_block_key}) or the entire session ({config.external_editor_key}) in an external editor. (currently {config.editor})
2125Save sessions ({config.save_key}) or post them to pastebins ({config.pastebin_key})! Current pastebin helper: {config.pastebin_helper}
2126Reload all modules and rerun session ({config.reimport_key}) to test out changes to a module.
2127Toggle auto-reload mode ({config.toggle_file_watch_key}) to re-execute the current session when a module you've imported is modified.
2128
2129bpython -i your_script.py runs a file in interactive mode
2130bpython -t your_script.py pastes the contents of a file into the session
2131
2132A config file at {config.config_path} customizes keys and behavior of bpython.
2133You can also set which pastebin helper and which external editor to use.
2134See {example_config_url} for an example config file.
2135Press {config.edit_config_key} to edit this config file.
2136"""
2137 ).format(example_config_url=EXAMPLE_CONFIG_URL, config=self.config)
2138
2139 return f"bpython-curtsies version {__version__} using curtsies version {curtsies_version}\n{help_message}"
2140
2141 def key_help_text(self) -> str:
2142 NOT_IMPLEMENTED = (

Callers 1

help_textMethod · 0.95

Calls 2

_Function · 0.90
formatMethod · 0.45

Tested by

no test coverage detected