Skip to content

Commit 5849218

Browse files
committed
merge
2 parents 162ab56 + 8315819 commit 5849218

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

README

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,21 +107,15 @@ as you type.
107107

108108
Configuration
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
112112
at the command line:
113113

114-
bpython /path/to/bpythonrc
114+
bpython -c /path/to/bpython.ini
115115

116116
Known 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
125119
bitbucket:
126120

127121
http://bitbucket.org/bobf/bpython/issues/

bpython/cli.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
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
#
@@ -23,9 +22,6 @@
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

3026
from __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

0 commit comments

Comments
 (0)