summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2013-12-01 01:55:48 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2013-12-01 01:55:48 (GMT)
commit65846c6c5190a92446176f318fd837c6005cfa29 (patch)
treea1b01b9f99a3705ae3d949fb683c234c62f317cc /Include/object.h
parent19b6fa6ebb887e498437b4ae87d6e70b92b4742b (diff)
downloadcpython-65846c6c5190a92446176f318fd837c6005cfa29.zip
cpython-65846c6c5190a92446176f318fd837c6005cfa29.tar.gz
cpython-65846c6c5190a92446176f318fd837c6005cfa29.tar.bz2
Issue #6477: Keep PyNotImplemented_Type and PyNone_Type private.
Diffstat (limited to 'Include/object.h')
-rw-r--r--Include/object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/object.h b/Include/object.h
index 5c89ca3..cdeb06c 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -831,8 +831,8 @@ they can have object code that is not dependent on Python compilation flags.
PyAPI_FUNC(void) Py_IncRef(PyObject *);
PyAPI_FUNC(void) Py_DecRef(PyObject *);
-PyAPI_DATA(PyTypeObject) PyNone_Type;
-PyAPI_DATA(PyTypeObject) PyNotImplemented_Type;
+PyAPI_DATA(PyTypeObject) _PyNone_Type;
+PyAPI_DATA(PyTypeObject) _PyNotImplemented_Type;
/*
_Py_NoneStruct is an object of undefined type which can be used in contexts