From: Victor Stinner Date: Thu, 1 Oct 2015 20:07:32 +0000 (+0200) Subject: Make _PyUnicode_TranslateCharmap() symbol private X-Git-Tag: v3.6.0a1~1351 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3222da26fe873410cbdbc18744e19a7d0f6a7523;p=thirdparty%2FPython%2Fcpython.git Make _PyUnicode_TranslateCharmap() symbol private unicodeobject.h exposes PyUnicode_TranslateCharmap() and PyUnicode_Translate(). --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index df3a1b506987..93c4ad9fe0ed 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -8683,7 +8683,7 @@ exit: return res; } -PyObject * +static PyObject * _PyUnicode_TranslateCharmap(PyObject *input, PyObject *mapping, const char *errors)