FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fixing Windows Python2 compatibility · optionalg/bpython@4189d62 · GitHub

forked from bpython/bpython

Commit 4189d62

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)

Back | FazBrowse Home | New Git URL