summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-02-18 19:32:50 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-02-18 19:32:50 (GMT)
commit97e5ff555e581e30c21f703bf5ca89402db6f557 (patch)
tree5e304d80d7247e3d0aa7e3d6e15c6221c161df16
parent8e80a72be402c926250471d7d8d84414629c683f (diff)
downloadcpython-97e5ff555e581e30c21f703bf5ca89402db6f557.zip
cpython-97e5ff555e581e30c21f703bf5ca89402db6f557.tar.gz
cpython-97e5ff555e581e30c21f703bf5ca89402db6f557.tar.bz2
Removed unreferenced label.
-rw-r--r--Objects/typeobject.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 52a98bc..e238056 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -5210,8 +5210,7 @@ supercheck(PyTypeObject *type, PyObject *obj)
Py_DECREF(class_attr);
}
- fail:
- PyErr_SetString(PyExc_TypeError,
+ PyErr_SetString(PyExc_TypeError,
"super(type, obj): "
"obj must be an instance or subtype of type");
return NULL;