From 4189d628cfb1048f447742060df84fc90f7afdf9 Mon Sep 17 00:00:00 2001 From: Aditya Gupta Date: Tue, 26 Jan 2016 00:12:45 +0530 Subject: [PATCH] Fixing Windows Python2 compatibility unsupported operand type | list and list: python 2.7 --- bpython/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bpython/cli.py b/bpython/cli.py index 3d68b68ca..96dbbc972 100644 --- a/bpython/cli.py +++ b/bpython/cli.py @@ -281,7 +281,7 @@ def make_colors(config): } if platform.system() == 'Windows': - c = dict(c.items() | + c = dict(list(c.items()) + [ ('K', 8), ('R', 9),