Skip to content

Commit d657028

Browse files
author
Bob Farrell
committed
Added insult to Seamus for being a dickhead.
committer: Bob Farrell <bob@keys.(none)>
1 parent 90a5ab8 commit d657028

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎bpython.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,6 +1063,9 @@ def strbase( self, l ):
10631063

10641064
sl = sorted( l, key=str.__len__ )
10651065
for i, c in enumerate( l[-1] ):
1066+
# I hate myself. Please email seamusmb@gmail.com to call him an dickhead for
1067+
# insisting that I make bpython 2.4-compatible. I couldn't be bothered
1068+
# refactoring, so ghetto all() it is:
10661069
if not reduce( lambda x, y: (x and y) or False,
10671070
( k.startswith( l[-1][:i] ) for k in sl ),
10681071
True ):

0 commit comments

Comments
 (0)