From 007bc8f9bd8a0b028d95c23385e36b9a825669f3 Mon Sep 17 00:00:00 2001 From: a-ma72 Date: Sat, 27 Aug 2022 16:30:15 +0200 Subject: [PATCH] Fix: Wrong error message format --- python/src/rfcnt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/rfcnt.cpp b/python/src/rfcnt.cpp index 766c27a..556dbe9 100644 --- a/python/src/rfcnt.cpp +++ b/python/src/rfcnt.cpp @@ -115,7 +115,7 @@ int parse_rfc_kwargs( PyObject* kwargs, Py_ssize_t len, Rainflow *rf, Rainflow:: } else { - PyErr_Format( PyExc_RuntimeError, "Wrong key used in wl dict: %O", key ); + PyErr_Format( PyExc_RuntimeError, "Wrong key used in wl dict: `%S`", key ); return 0; } }