Skip to content

Commit 4df988b

Browse files
Fix python 3 compatibility
Python 3 doesn't allow addition of dict_items and list, but union works.
1 parent 9f3460b commit 4df988b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def make_colors(config):
281281
}
282282

283283
if platform.system() == 'Windows':
284-
c = dict(c.items() +
284+
c = dict(c.items() |
285285
[
286286
('K', 8),
287287
('R', 9),

0 commit comments

Comments
 (0)