@@ -44,15 +44,16 @@ If you have `pip`_ installed, you can simply run:
4444 $ pip install bpython
4545
4646 Start bpython by typing ``bpython `` in your terminal. You can exit bpython by
47- using the ``exit() `` command.
47+ using the ``exit() `` command or by pressing control-D like regular interactive
48+ Python.
4849
4950===================
5051Features & Examples
5152===================
52- * In-line syntax highlighting. This uses Pygments for lexing the code as you
53- type, and colours appropriately.
53+ * Readline-like autocomplete, with suggestions displayed as you type.
5454
55- * Readline-like autocomplete. Suggestions displayed as you type.
55+ * In-line syntax highlighting. This uses Pygments for lexing the code as you
56+ type, and colours appropriately.
5657
5758* Expected parameter list. As in a lot of modern IDEs, bpython will attempt to
5859 display a list of parameters for any function you call. The inspect module is
@@ -62,14 +63,17 @@ Features & Examples
6263* Rewind. This isn't called "Undo" because it would be misleading, but "Rewind"
6364 is probably as bad. The idea is that the code entered is kept in memory and
6465 when the Rewind function is called, the last line is popped and the entire
65- code is re-evaluated.
66+ session is re-evaluated. Use <control-R> to rewind.
67+
68+ * Edit the current line or your entire session in an editor. F7 opens the current
69+ session in a text editor, and if modifications are made, the session is rerun
70+ with these changes.
6671
6772* Pastebin code/write to file. Use the <F8> key to upload the screen's contents
6873 to pastebin, with a URL returned.
6974
70- * Flush curses screen to stdout. When you quit bpython, the screen data will be
71- flushed to stdout, so it basically looks the same as if you had quit the
72- vanilla interpreter.
75+ * Reload imported Python modules. Use <F6> to clear sys.modules and rerun your
76+ session to test changes to code in a module you're working on.
7377
7478=============
7579Configuration
0 commit comments