We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5a8e67 commit 620da4bCopy full SHA for 620da4b
bpython/curtsiesfrontend/repl.py
@@ -1,4 +1,5 @@
1
# -*- coding: utf-8 -*-
2
+
3
import contextlib
4
import errno
5
import functools
@@ -50,9 +51,9 @@
50
51
52
#TODO other autocomplete modes (also fix in other bpython implementations)
53
-
54
from curtsies.configfile_keynames import keymap as key_dispatch
55
56
57
logger = logging.getLogger(__name__)
58
59
INCONSISTENT_HISTORY_MSG = u"#<---History inconsistent with output shown--->"
@@ -78,6 +79,10 @@
78
79
Press {config.edit_config_key} to edit this config file.
80
"""
81
82
+if py3:
83
+ unicode = str
84
85
86
class FakeStdin(object):
87
"""Stdin object user code references so sys.stdin.read() asked user for interactive input"""
88
def __init__(self, coderunner, repl, configured_edit_keys=None):
0 commit comments