We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1577962 commit d37e665Copy full SHA for d37e665
1 file changed
bpython/cli.py
@@ -1383,7 +1383,7 @@ def strbase(self, l):
1383
elif len(l) == 1:
1384
return l[0]
1385
1386
- sl = sorted(l, key=str.__len__)
+ sl = sorted(l, key=len)
1387
for i, c in enumerate(l[-1]):
1388
# I hate myself. Please email seamusmb@gmail.com to call him a dickhead for
1389
# insisting that I make bpython 2.4-compatible. I couldn't be bothered
0 commit comments