mirror of
https://github.com/python/cpython.git
synced 2025-10-21 22:22:48 +00:00
Make PyCodec_SurrogateErrors static.
This commit is contained in:
parent
4ae1f261f8
commit
aef3fb082c
1 changed files with 4 additions and 1 deletions
|
@ -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 *restuple;
|
||||||
PyObject *object;
|
PyObject *object;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue