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
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
Index: classobject.c [...] + static PyObject * + new_class(PyObject* unused, PyObject* args) [...]
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...
Looks like an experiment by Oren Tirosh that didn't get nuked. I think you can safely lose it. --Guido van Rossum (home page: http://www.python.org/~guido/)
participants (2)
-
Guido van Rossum
-
Michael Hudson