Skip to content

Commit 4189d62

Browse files
Aditya GuptaAditya Gupta
Aditya Gupta
authored and
Aditya Gupta
committed
Fixing Windows Python2 compatibility
unsupported operand type | list and list: python 2.7
1 parent b3692e6 commit 4189d62

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(list(c.items()) +
285285
[
286286
('K', 8),
287287
('R', 9),

0 commit comments

Comments
 (0)