Imported readline in hython

This commit is contained in:
Thom Neale 2012-12-28 17:57:16 -05:00
parent 8bf4b0578c
commit 9b770853ae

View File

@ -1,10 +1,13 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from hy.lang.importer import _hy_import_file
from code import InteractiveConsole
import sys
try:
import readline
except ImportError:
pass
if len(sys.argv) > 1:
sys.argv = sys.argv[1:]