diff --git a/bpython.py b/bpython.py index 85ab09b..4e2ba16 100644 --- a/bpython.py +++ b/bpython.py @@ -362,7 +362,8 @@ class Repl: """Display a list of options on the screen.""" y, x = self.scr.getyx() - + items = [ i.rpartition('.')[-1] for i in items ] + def calc_lsize(r): """Calculate the size required on screen to display the list. Unfortunately Python 2.x doesn't allow assigning to the scope