mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
bpo-30721: Add missing '?' to new error message (GH-3131)
This commit is contained in:
parent
f0202bb349
commit
a7c449b8c0
2 changed files with 3 additions and 3 deletions
|
|
@ -827,7 +827,7 @@ binary_op(PyObject *v, PyObject *w, const int op_slot, const char *op_name)
|
|||
PyErr_Format(PyExc_TypeError,
|
||||
"unsupported operand type(s) for %.100s: "
|
||||
"'%.100s' and '%.100s'. Did you mean \"print(<message>, "
|
||||
"file=<output_stream>)\"",
|
||||
"file=<output_stream>)\"?",
|
||||
op_name,
|
||||
v->ob_type->tp_name,
|
||||
w->ob_type->tp_name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue