Skip to content

Commit f3e39d5

Browse files
committed
move this fix into a separate PR
1 parent 86a5859 commit f3e39d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/descrobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ method_get(PyObject *self, PyObject *obj, PyObject *type)
150150
} else {
151151
PyErr_Format(PyExc_TypeError,
152152
"descriptor '%V' needs a type, not '%s', as arg 2",
153-
descr_name((PyDescrObject *)descr), "?",
153+
descr_name((PyDescrObject *)descr),
154154
Py_TYPE(type)->tp_name);
155155
return NULL;
156156
}

0 commit comments

Comments
 (0)