diff options
Diffstat (limited to 'Python/codecs.c')
-rw-r--r-- | Python/codecs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Python/codecs.c b/Python/codecs.c index 3f1412d..633a24c 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -748,7 +748,10 @@ PyObject *PyCodec_BackslashReplaceErrors(PyObject *exc) } } -PyObject *PyCodec_SurrogateErrors(PyObject *exc) +/* This handler is declared static until someone demonstrates + a need to call it directly. */ +static PyObject * +PyCodec_SurrogateErrors(PyObject *exc) { PyObject *restuple; PyObject *object; |