summaryrefslogtreecommitdiffstats
path: root/Objects
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 /Objects
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 'Objects')
-rw-r--r--Objects/object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 949e7dc..83da6a4 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -1459,7 +1459,7 @@ static PyNumberMethods none_as_number = {
0, /* nb_index */
};
-static PyTypeObject PyNone_Type = {
+PyTypeObject PyNone_Type = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)
"NoneType",
0,
@@ -1524,7 +1524,7 @@ notimplemented_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
Py_RETURN_NOTIMPLEMENTED;
}
-static PyTypeObject PyNotImplemented_Type = {
+PyTypeObject PyNotImplemented_Type = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)
"NotImplementedType",
0,