Skip to content

Commit b230413

Browse files
committed
Unicode-ification of bpython.curtsiesfrontend
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent 5a021f8 commit b230413

File tree

4 files changed

+196
-192
lines changed

4 files changed

+196
-192
lines changed

bpython/curtsiesfrontend/parse.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1+
# coding: utf-8
2+
from __future__ import unicode_literals
3+
4+
from functools import partial
5+
import re
16

27
from bpython.lazyre import LazyReCompile
38

49
from curtsies.termformatconstants import FG_COLORS, BG_COLORS, colors
510
from curtsies.formatstring import fmtstr, FmtStr
611

7-
from functools import partial
8-
9-
import re
1012

1113
cnames = dict(zip('krgybmcwd', colors + ('default',)))
1214

bpython/curtsiesfrontend/repl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
from __future__ import unicode_literals
23

34
import contextlib
45
import errno

bpython/curtsiesfrontend/replpainter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
from __future__ import unicode_literals
23

34
import logging
45
import itertools

0 commit comments

Comments
 (0)