Skip to content

Commit c13a580

Browse files
committed
Merge.
2 parents a2468e8 + a90bb60 commit c13a580

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bpython/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1357,7 +1357,7 @@ def p_key(self):
13571357
self.write2file()
13581358
return ''
13591359

1360-
elif self.c == key_dispatch[OPTS.pastebin_key]:
1360+
elif self.c in key_dispatch[OPTS.pastebin_key]:
13611361
self.pastebin()
13621362
return ''
13631363

bpython/keys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@
4040

4141
# fill dispatch with function keys
4242
for x in xrange(1,13):
43-
key_dispatch['F%s' % str(x)] = 'KEY_F(%s)' % str(x)
43+
key_dispatch['F%s' % str(x)] = ('KEY_F(%s)' % str(x),)

0 commit comments

Comments
 (0)