From 978bf2aa50b0a2f93260aec190a0873238ddbe6d Mon Sep 17 00:00:00 2001 From: Aaron Gokaslan Date: Tue, 22 Feb 2022 11:24:40 -0500 Subject: [PATCH] Fix typo --- include/pybind11/detail/type_caster_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/detail/type_caster_base.h b/include/pybind11/detail/type_caster_base.h index 1ed23fb91..f0d27999f 100644 --- a/include/pybind11/detail/type_caster_base.h +++ b/include/pybind11/detail/type_caster_base.h @@ -506,7 +506,7 @@ error_string(PyObject *exc_type, PyObject *exc_value, PyObject *exc_trace) { result += handle(f_code->co_filename).cast(); result += '('; result += std::to_string(lineno); - result += "):) "; + result += "): "; result += handle(f_code->co_name).cast(); result += '\n'; frame = frame->f_back;