diff options
| author | Alexandre Vassalotti <alexandre@peadrop.com> | 2013-11-30 16:06:39 -0800 | 
|---|---|---|
| committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2013-11-30 16:06:39 -0800 | 
| commit | 19b6fa6ebb887e498437b4ae87d6e70b92b4742b (patch) | |
| tree | 06c58ae3259eb7bead5356406c4fc7fefa0e34d9 /Objects/object.c | |
| parent | f8ceb04fcfb2fac63c832639442e69d8902a48b8 (diff) | |
| download | cpython-git-19b6fa6ebb887e498437b4ae87d6e70b92b4742b.tar.gz | |
Issue #6477: Added support for pickling the types of built-in singletons.
Diffstat (limited to 'Objects/object.c')
| -rw-r--r-- | Objects/object.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/Objects/object.c b/Objects/object.c index 949e7dc7f3..83da6a4ff0 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, | 
