[Python-Dev] Re: [Python-checkins] python/dist/src/Objects bufferobject.c,2.17,2.18 classobject.c,2.156,2.157 descrobject.c,2.26,2.27 funcobject.c,2.54,2.55 sliceobject.c,2.14,2.15

Michael Hudson mwh@python.net
18 Jun 2002 12:23:11 +0100


gvanrossum@users.sourceforge.net writes:

> Index: classobject.c
[...]
> + static PyObject *
> + new_class(PyObject* unused, PyObject* args)
> + {
> + 	PyObject *name;
> + 	PyObject *classes;
> + 	PyObject *dict;
> +   
> + 	if (!PyArg_ParseTuple(args, "SO!O!:class",
> + 			      &name,
> + 			      &PyTuple_Type, &classes,
> + 			      &PyDict_Type, &dict))
> + 		return NULL;
> + 	return PyClass_New(classes, dict, name);
> + }
> + 

What's this for?  It's not referred to anywhere, so I'm getting
warnings about it.  I'd just hack it out, but it only just got
added...

Cheers,
M.

-- 
  ARTHUR:  Don't ask me how it works or I'll start to whimper.
                   -- The Hitch-Hikers Guide to the Galaxy, Episode 11