1.1 --- a/lib/sys.py Fri Dec 09 16:26:50 2016 +0100
1.2 +++ b/lib/sys.py Fri Dec 09 17:27:30 2016 +0100
1.3 @@ -21,16 +21,20 @@
1.4
1.5 from __builtins__.int import maxint, minint
1.6 from posix.io import stdin, stdout, stderr
1.7 -import native
1.8 +from native import (
1.9 + exit as _exit,
1.10 + get_argv as _get_argv,
1.11 + get_path as _get_path
1.12 + )
1.13
1.14 # NOTE: Environment details to be implemented.
1.15
1.16 -argv = native.get_argv()
1.17 -path = native.get_path()
1.18 +argv = _get_argv()
1.19 +path = _get_path()
1.20
1.21 # Functions to be implemented natively.
1.22
1.23 def exit(status=0):
1.24 - native.exit(int(status))
1.25 + _exit(int(status))
1.26
1.27 # vim: tabstop=4 expandtab shiftwidth=4