Author: Ronan Lamy <ronan.l...@gmail.com>
Branch: py3.5
Changeset: r95175:911406cbc134
Date: 2018-10-01 17:21 +0100
http://bitbucket.org/pypy/pypy/changeset/911406cbc134/

Log:    PyNone_Type and PyNotImplemented_Type are private in py3

diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py
--- a/pypy/module/cpyext/api.py
+++ b/pypy/module/cpyext/api.py
@@ -712,8 +712,8 @@
         "PyByteArray_Type": "space.w_bytearray",
         "PyMemoryView_Type": "space.w_memoryview",
         "PyBaseObject_Type": "space.w_object",
-        'PyNone_Type': 'space.type(space.w_None)',
-        'PyNotImplemented_Type': 'space.type(space.w_NotImplemented)',
+        '_PyNone_Type': 'space.type(space.w_None)',
+        '_PyNotImplemented_Type': 'space.type(space.w_NotImplemented)',
         'PyCell_Type': 'space.gettypeobject(Cell.typedef)',
         'PyModule_Type': 'space.gettypeobject(Module.typedef)',
         'PyProperty_Type': 'space.gettypeobject(W_Property.typedef)',
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to