We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ae1f26 commit aef3fb0Copy full SHA for aef3fb0
1 file changed
Python/codecs.c
@@ -748,7 +748,10 @@ PyObject *PyCodec_BackslashReplaceErrors(PyObject *exc)
748
}
749
750
751
-PyObject *PyCodec_SurrogateErrors(PyObject *exc)
+/* This handler is declared static until someone demonstrates
752
+ a need to call it directly. */
753
+static PyObject *
754
+PyCodec_SurrogateErrors(PyObject *exc)
755
{
756
PyObject *restuple;
757
PyObject *object;
0 commit comments