Make PyCodec_SurrogateErrors static.
This commit is contained in:
parent
4ae1f261f8
commit
aef3fb082c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue