Mercurial > cpython-lru_cache-weakref
diff Python/codecs.c @ 53687:52a89d723b6b
Make PyCodec_SurrogateErrors static.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Sat, 02 May 2009 19:27:30 +0000 |
| parents | 52a77ef069cd |
| children | ac209f132b17 |
line wrap: on
line diff
--- a/Python/codecs.c Sat May 02 19:15:23 2009 +0000 +++ b/Python/codecs.c Sat May 02 19:27:30 2009 +0000 @@ -748,7 +748,10 @@ } } -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;
