diff options
author | 2021-03-02 21:37:47 +0100 | |
---|---|---|
committer | 2021-03-02 21:37:47 +0100 | |
commit | 98cd0e4559abca0803dd3c57d2aa116f36efdd0d (patch) | |
tree | e9772591bdc69c7c0a33965593d8f1452f308425 | |
parent | woops (diff) | |
download | pypy-98cd0e4559abca0803dd3c57d2aa116f36efdd0d.tar.gz pypy-98cd0e4559abca0803dd3c57d2aa116f36efdd0d.tar.bz2 pypy-98cd0e4559abca0803dd3c57d2aa116f36efdd0d.zip |
-rw-r--r-- | pypy/module/cpyext/api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py index 8e1a476509..73df8a6ddd 100644 --- a/pypy/module/cpyext/api.py +++ b/pypy/module/cpyext/api.py @@ -638,7 +638,7 @@ BOOTSTRAP_FUNCTIONS = [] # Keep synchronized with pypy.interpreter.app_main.sys_flags and # module.sys.app.sysflags. Synchronized in an init_function -_flags = ( +_flags = [ # c name, sys.flags name ('Py_DebugFlag', 'debug'), ('Py_Py3kWarningFlag', 'py3k_warning'), @@ -656,7 +656,7 @@ _flags = ( ('Py_UnicodeFlag', 'unicode'), ('Py_BytesWarningFlag', 'bytes_warning'), ('Py_HashRandomizationFlag', 'hash_randomization'), -) +] SYMBOLS_C += [c_name for c_name, _ in _flags] |