"NotImplemented, the normal algorithm is used. Otherwise, it\n"
"overrides the normal algorithm (and the outcome is cached).\n");
- /*
- from PEP 3101, this code implements:
-
- class object:
- def __format__(self, format_spec):
- return format(str(self), format_spec)
- */
+static PyObject *
+object_init_subclass(PyObject *cls, PyObject *arg)
+{
+ Py_RETURN_NONE;
+}
+
+PyDoc_STRVAR(object_init_subclass_doc,
+"This method is called when a class is subclassed.\n"
+"\n"
+"The default implementation does nothing. It may be\n"
+"overridden to extend subclasses.\n");
+
static PyObject *
object_format(PyObject *self, PyObject *args)
{