summaryrefslogtreecommitdiffstats
path: root/Objects/abstract.c
diff options
context:
space:
mode:
authorSanyam Khurana <sanyam@sanyamkhurana.com>2017-08-18 12:18:14 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2017-08-18 12:18:14 (GMT)
commita7c449b8c08933deabcf329fb74ed1336f6db34f (patch)
tree6cb21a528e8a04300e5ee0aa8a53865b047184c7 /Objects/abstract.c
parentf0202bb349986ff264d06b15058dcde4062b7b7a (diff)
downloadcpython-a7c449b8c08933deabcf329fb74ed1336f6db34f.zip
cpython-a7c449b8c08933deabcf329fb74ed1336f6db34f.tar.gz
cpython-a7c449b8c08933deabcf329fb74ed1336f6db34f.tar.bz2
bpo-30721: Add missing '?' to new error message (GH-3131)
Diffstat (limited to 'Objects/abstract.c')
-rw-r--r--Objects/abstract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c
index abd9795..66ac0e3 100644
--- a/Objects/abstract.c
+++ b/Objects/abstract.c
@@ -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);