diff options
author | Carl Friedrich Bolz <cfbolz@gmx.de> | 2016-10-20 18:50:17 +0200 |
---|---|---|
committer | Carl Friedrich Bolz <cfbolz@gmx.de> | 2016-10-20 18:50:17 +0200 |
commit | cfdad8eca2017c0feb19b45bec3f0ee8e6d06d3c (patch) | |
tree | 376c9695e1657844d6802c7958fe0026a6665405 /pypy/goal | |
parent | replace space.wrap in the ast compiler (diff) | |
download | pypy-cfdad8eca2017c0feb19b45bec3f0ee8e6d06d3c.tar.gz pypy-cfdad8eca2017c0feb19b45bec3f0ee8e6d06d3c.tar.bz2 pypy-cfdad8eca2017c0feb19b45bec3f0ee8e6d06d3c.zip |
start on the wraps in interpreter/
Diffstat (limited to 'pypy/goal')
-rw-r--r-- | pypy/goal/targetpypystandalone.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py index 862c92f3ec..e298cc4dad 100644 --- a/pypy/goal/targetpypystandalone.py +++ b/pypy/goal/targetpypystandalone.py @@ -159,7 +159,7 @@ def create_entry_point(space, w_dict): space.setitem(w_globals, space.newtext('__builtins__'), space.builtin_modules['__builtin__']) space.setitem(w_globals, space.newtext('c_argument'), - space.newtext(c_argument)) + space.newint(c_argument)) space.appexec([space.newtext(source), w_globals], """(src, glob): import sys stmt = compile(src, 'c callback', 'exec') |