From ba3138183fe508ffb895444925ca10ef43c6823c Mon Sep 17 00:00:00 2001 From: Matti Picus Date: Sun, 24 Sep 2017 23:19:33 +0300 Subject: import earlier --- lib_pypy/pyrepl/historical_reader.py | 3 +-- 1 file changed, 1 insertion(+), 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) -- cgit v1.2.3-65-gdbad