summaryrefslogtreecommitdiffstats
path: root/Modules/itertoolsmodule.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-05-23 03:55:42 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-05-23 03:55:42 (GMT)
commitbfef18ca0eff6800f40c7591f1c24a75998d06a6 (patch)
tree0677760b88194889b627ade3f00c0c6a0a25ceb3 /Modules/itertoolsmodule.c
parentc26ff41d3d765e0299eed8adcb00dbd8079c52ec (diff)
downloadcpython-bfef18ca0eff6800f40c7591f1c24a75998d06a6.zip
cpython-bfef18ca0eff6800f40c7591f1c24a75998d06a6.tar.gz
cpython-bfef18ca0eff6800f40c7591f1c24a75998d06a6.tar.bz2
PyType_GenericAlloc is inherited from object.
Diffstat (limited to 'Modules/itertoolsmodule.c')
-rw-r--r--Modules/itertoolsmodule.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c
index 20461a7..e2e820e 100644
--- a/Modules/itertoolsmodule.c
+++ b/Modules/itertoolsmodule.c
@@ -151,7 +151,7 @@ PyTypeObject cycle_type = {
0, /* tp_descr_set */
0, /* tp_dictoffset */
0, /* tp_init */
- PyType_GenericAlloc, /* tp_alloc */
+ 0, /* tp_alloc */
cycle_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
};
@@ -300,7 +300,7 @@ PyTypeObject dropwhile_type = {
0, /* tp_descr_set */
0, /* tp_dictoffset */
0, /* tp_init */
- PyType_GenericAlloc, /* tp_alloc */
+ 0, /* tp_alloc */
dropwhile_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
};
@@ -448,7 +448,7 @@ PyTypeObject takewhile_type = {
0, /* tp_descr_set */
0, /* tp_dictoffset */
0, /* tp_init */
- PyType_GenericAlloc, /* tp_alloc */
+ 0, /* tp_alloc */
takewhile_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
};
@@ -638,7 +638,7 @@ PyTypeObject islice_type = {
0, /* tp_descr_set */
0, /* tp_dictoffset */
0, /* tp_init */
- PyType_GenericAlloc, /* tp_alloc */
+ 0, /* tp_alloc */
islice_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
};
@@ -777,7 +777,7 @@ PyTypeObject starmap_type = {
0, /* tp_descr_set */
0, /* tp_dictoffset */
0, /* tp_init */
- PyType_GenericAlloc, /* tp_alloc */
+ 0, /* tp_alloc */
starmap_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
};
@@ -964,7 +964,7 @@ PyTypeObject imap_type = {
0, /* tp_descr_set */
0, /* tp_dictoffset */
0, /* tp_init */
- PyType_GenericAlloc, /* tp_alloc */
+ 0, /* tp_alloc */
imap_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
};
@@ -1099,7 +1099,7 @@ PyTypeObject chain_type = {
0, /* tp_descr_set */
0, /* tp_dictoffset */
0, /* tp_init */
- PyType_GenericAlloc, /* tp_alloc */
+ 0, /* tp_alloc */
chain_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
};
@@ -1248,7 +1248,7 @@ PyTypeObject ifilter_type = {
0, /* tp_descr_set */
0, /* tp_dictoffset */
0, /* tp_init */
- PyType_GenericAlloc, /* tp_alloc */
+ 0, /* tp_alloc */
ifilter_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
};
@@ -1397,7 +1397,7 @@ PyTypeObject ifilterfalse_type = {
0, /* tp_descr_set */
0, /* tp_dictoffset */
0, /* tp_init */
- PyType_GenericAlloc, /* tp_alloc */
+ 0, /* tp_alloc */
ifilterfalse_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
};
@@ -1481,7 +1481,7 @@ PyTypeObject count_type = {
0, /* tp_descr_set */
0, /* tp_dictoffset */
0, /* tp_init */
- PyType_GenericAlloc, /* tp_alloc */
+ 0, /* tp_alloc */
count_new, /* tp_new */
};
@@ -1665,7 +1665,7 @@ PyTypeObject izip_type = {
0, /* tp_descr_set */
0, /* tp_dictoffset */
0, /* tp_init */
- PyType_GenericAlloc, /* tp_alloc */
+ 0, /* tp_alloc */
izip_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
};
@@ -1775,7 +1775,7 @@ PyTypeObject repeat_type = {
0, /* tp_descr_set */
0, /* tp_dictoffset */
0, /* tp_init */
- PyType_GenericAlloc, /* tp_alloc */
+ 0, /* tp_alloc */
repeat_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
};