summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2013-12-01 00:06:39 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2013-12-01 00:06:39 (GMT)
commit19b6fa6ebb887e498437b4ae87d6e70b92b4742b (patch)
tree06c58ae3259eb7bead5356406c4fc7fefa0e34d9 /Include
parentf8ceb04fcfb2fac63c832639442e69d8902a48b8 (diff)
downloadcpython-19b6fa6ebb887e498437b4ae87d6e70b92b4742b.zip
cpython-19b6fa6ebb887e498437b4ae87d6e70b92b4742b.tar.gz
cpython-19b6fa6ebb887e498437b4ae87d6e70b92b4742b.tar.bz2
Issue #6477: Added support for pickling the types of built-in singletons.
Diffstat (limited to 'Include')
-rw-r--r--Include/object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/object.h b/Include/object.h
index 20c4780..5c89ca3 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -831,6 +831,9 @@ 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;
+
/*
_Py_NoneStruct is an object of undefined type which can be used in contexts
where NULL (nil) is not suitable (since NULL often means 'error').