[pypy-commit] pypy py3.6: py_w_stopcode is only for "ifndef PYPY_VERSION"

mattip pypy.commits at gmail.com
Tue Oct 22 04:11:25 EDT 2019


Author: Matti Picus <matti.picus at gmail.com>
Branch: py3.6
Changeset: r97832:b4b11d42cd34
Date: 2019-10-22 11:10 +0300
http://bitbucket.org/pypy/pypy/changeset/b4b11d42cd34/

Log:	py_w_stopcode is only for "ifndef PYPY_VERSION"

diff --git a/lib_pypy/_testcapimodule.c b/lib_pypy/_testcapimodule.c
--- a/lib_pypy/_testcapimodule.c
+++ b/lib_pypy/_testcapimodule.c
@@ -4544,10 +4544,10 @@
     {"pyobject_fastcalldict", test_pyobject_fastcalldict, METH_VARARGS},
     {"pyobject_fastcallkeywords", test_pyobject_fastcallkeywords, METH_VARARGS},
     {"raise_SIGINT_then_send_None", raise_SIGINT_then_send_None, METH_VARARGS},
-#endif
 #ifdef W_STOPCODE
     {"W_STOPCODE", py_w_stopcode, METH_VARARGS},
 #endif
+#endif
     {NULL, NULL} /* sentinel */
 };
 


More information about the pypy-commit mailing list