File tree Expand file tree Collapse file tree 2 files changed +5
-15
lines changed
Expand file tree Collapse file tree 2 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -107,21 +107,15 @@ as you type.
107107
108108Configuration
109109=============
110- See the sample-rc file for a list of available options.
111- You should save your rc file as ~/.bpythonrc or specify
110+ See the sample.ini file for a list of available options.
111+ You should save your ini file as ~/.bpython.ini or specify
112112at the command line:
113113
114- bpython /path/to/bpythonrc
114+ bpython -c /path/to/bpython.ini
115115
116116Known Bugs
117117==========
118-
119- * Triple quoted strings over multiple lines work, but they're
120- not highlighted properly.
121- * Unicode schmunicode is in the works but will take some work
122- to have curses play nice.
123-
124- For more known bugs please see bpython's issue tracker at
118+ For known bugs please see bpython's issue tracker at
125119bitbucket:
126120
127121http://bitbucket.org/bobf/bpython/issues/
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
2- # bpython 0.8.0::fancy curses interface to the Python repl::Bob Farrell 2008
32#
43# The MIT License
54#
2322# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2423# THE SOFTWARE.
2524#
26- # Requires at least Python 2.4, pygments and pyparsing
27- # Debian/Ubuntu: aptitude install python-pyments python-pyparsing
28- #
2925
3026from __future__ import with_statement
3127
@@ -1383,7 +1379,7 @@ def strbase(self, l):
13831379 elif len (l ) == 1 :
13841380 return l [0 ]
13851381
1386- sl = sorted (l , key = str . __len__ )
1382+ sl = sorted (l , key = len )
13871383 for i , c in enumerate (l [- 1 ]):
13881384# I hate myself. Please email seamusmb@gmail.com to call him a dickhead for
13891385# insisting that I make bpython 2.4-compatible. I couldn't be bothered
You can’t perform that action at this time.
0 commit comments