Imported readline in hython
This commit is contained in:
parent
8bf4b0578c
commit
9b770853ae
@ -1,10 +1,13 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from hy.lang.importer import _hy_import_file
|
from hy.lang.importer import _hy_import_file
|
||||||
|
|
||||||
from code import InteractiveConsole
|
from code import InteractiveConsole
|
||||||
import sys
|
import sys
|
||||||
|
try:
|
||||||
|
import readline
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
if len(sys.argv) > 1:
|
if len(sys.argv) > 1:
|
||||||
sys.argv = sys.argv[1:]
|
sys.argv = sys.argv[1:]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user