diff options
author | Michael W. Hudson <mwh@python.net> | 2002-06-18 12:38:06 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2002-06-18 12:38:06 (GMT) |
commit | b1e8154013feaa42d08e3a9b992357c365129126 (patch) | |
tree | 18322d433348663068c7e3219e5cab79cd52ea56 /Objects/classobject.c | |
parent | fc8341d0706bcf41711b289897cf7b8c4b7178a7 (diff) | |
download | cpython-b1e8154013feaa42d08e3a9b992357c365129126.zip cpython-b1e8154013feaa42d08e3a9b992357c365129126.tar.gz cpython-b1e8154013feaa42d08e3a9b992357c365129126.tar.bz2 |
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.
Diffstat (limited to 'Objects/classobject.c')
-rw-r--r-- | Objects/classobject.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Objects/classobject.c b/Objects/classobject.c index 979c967..88bd20c 100644 --- a/Objects/classobject.c +++ b/Objects/classobject.c @@ -156,21 +156,6 @@ 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) { PyObject *name, *bases, *dict; |