mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #6477: Merge with 3.3.
This commit is contained in:
commit
3c23e7a5dc
6 changed files with 58 additions and 4 deletions
|
@ -1409,7 +1409,7 @@ static PyNumberMethods none_as_number = {
|
|||
0, /* nb_index */
|
||||
};
|
||||
|
||||
static PyTypeObject PyNone_Type = {
|
||||
PyTypeObject PyNone_Type = {
|
||||
PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
||||
"NoneType",
|
||||
0,
|
||||
|
@ -1494,7 +1494,7 @@ notimplemented_dealloc(PyObject* ignore)
|
|||
Py_FatalError("deallocating NotImplemented");
|
||||
}
|
||||
|
||||
static PyTypeObject PyNotImplemented_Type = {
|
||||
PyTypeObject PyNotImplemented_Type = {
|
||||
PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
||||
"NotImplementedType",
|
||||
0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue