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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3222da26fe873410cbdbc18744e19a7d0f6a7523;p=python Make _PyUnicode_TranslateCharmap() symbol private unicodeobject.h exposes PyUnicode_TranslateCharmap() and PyUnicode_Translate(). --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index df3a1b5069..93c4ad9fe0 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)