|
27 | 27 | import bpython |
28 | 28 | from bpython.repl import Repl as BpythonRepl, SourceNotFound |
29 | 29 | from bpython.repl import LineTypeTranslator as LineType |
30 | | -from bpython.config import getpreferredencoding, default_config_path |
| 30 | +from bpython.config import getpreferredencoding |
31 | 31 | from bpython.formatter import BPythonFormatter |
32 | 32 | from bpython import autocomplete |
33 | 33 | from bpython.translations import _ |
|
61 | 61 | HELP_MESSAGE = """ |
62 | 62 | Thanks for using bpython! |
63 | 63 |
|
64 | | -See http://bpython-interpreter.org/ for more information and |
65 | | -http://docs.bpython-interpreter.org/ for docs. |
| 64 | +See http://bpython-interpreter.org/ for more information and http://docs.bpython-interpreter.org/ for docs. |
66 | 65 | Please report issues at https://github.com/bpython/bpython/issues |
67 | 66 |
|
68 | 67 | Features: |
|
75 | 74 | bpython -i your_script.py runs a file in interactive mode |
76 | 75 | bpython -t your_script.py pastes the contents of a file into the session |
77 | 76 |
|
78 | | -A config file at {config_file_location} customizes keys and behavior of bpython. |
| 77 | +A config file at {config.config_path} customizes keys and behavior of bpython. |
79 | 78 | You can also set which pastebin helper and which external editor to use. |
80 | 79 | See {example_config_url} for an example config file. |
81 | 80 | Press {config.edit_config_key} to edit this config file. |
@@ -1983,7 +1982,6 @@ def version_help_text(self): |
1983 | 1982 | + ("using curtsies version %s" % curtsies.__version__) |
1984 | 1983 | + "\n" |
1985 | 1984 | + HELP_MESSAGE.format( |
1986 | | - config_file_location=default_config_path(), |
1987 | 1985 | example_config_url=EXAMPLE_CONFIG_URL, |
1988 | 1986 | config=self.config, |
1989 | 1987 | ) |
|
0 commit comments