aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2017-09-24 23:19:33 +0300
committerMatti Picus <matti.picus@gmail.com>2017-09-24 23:19:33 +0300
commitba3138183fe508ffb895444925ca10ef43c6823c (patch)
treea491c6598684b654c55323a7da84556a07e539ff
parentupdate release notes (diff)
downloadpypy-ba3138183fe508ffb895444925ca10ef43c6823c.tar.gz
pypy-ba3138183fe508ffb895444925ca10ef43c6823c.tar.bz2
pypy-ba3138183fe508ffb895444925ca10ef43c6823c.zip
import earlier
-rw-r--r--lib_pypy/pyrepl/historical_reader.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib_pypy/pyrepl/historical_reader.py b/lib_pypy/pyrepl/historical_reader.py
index 413e65f602..5125d020bc 100644
--- a/lib_pypy/pyrepl/historical_reader.py
+++ b/lib_pypy/pyrepl/historical_reader.py
@@ -17,7 +17,7 @@
# CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-from pyrepl import reader, commands
+from pyrepl import reader, commands, input
from pyrepl.reader import Reader as R
isearch_keymap = tuple(
@@ -214,7 +214,6 @@ class HistoricalReader(R):
isearch_forwards, isearch_backwards, operate_and_get_next]:
self.commands[c.__name__] = c
self.commands[c.__name__.replace('_', '-')] = c
- from pyrepl import input
self.isearch_trans = input.KeymapTranslator(
isearch_keymap, invalid_cls=isearch_end,
character_cls=isearch_add_character)