About the new but unreferenced new_class, Guido sez:

> Looks like an experiment by Oren Tirosh that didn't get nuked.  I
> think you can safely lose it.

It's gone.
This commit is contained in:
Michael W. Hudson 2002-06-18 12:38:06 +00:00
parent fc8341d070
commit b1e8154013
1 changed files with 0 additions and 15 deletions

View File

@ -155,21 +155,6 @@ PyDoc_STRVAR(class_doc,
Create a class object. The name must be a string; the second argument\n\
a tuple of classes, and the third a dictionary.");
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);
}
static PyObject *
class_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
{