these builtins have to be initialized

This commit is contained in:
Benjamin Peterson 2009-05-09 18:10:51 +00:00
parent c3491d310f
commit 8bc5b68159
5 changed files with 25 additions and 6 deletions

View file

@ -317,8 +317,6 @@ typedef struct {
PyObject *it;
} filterobject;
PyTypeObject PyFilter_Type;
static PyObject *
filter_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
{
@ -913,8 +911,6 @@ typedef struct {
PyObject *func;
} mapobject;
PyTypeObject PyMap_Type;
static PyObject *
map_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
{
@ -2031,8 +2027,6 @@ typedef struct {
PyObject *result;
} zipobject;
PyTypeObject PyZip_Type;
static PyObject *
zip_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
{