[Python-checkins] cpython: Make _PyUnicode_TranslateCharmap() symbol private
victor.stinner
python-checkins at python.org
Thu Oct 1 17:20:08 EDT 2015
https://hg.python.org/cpython/rev/3bcf60b12094
changeset: 98471:3bcf60b12094
user: Victor Stinner <victor.stinner at gmail.com>
date: Thu Oct 01 22:07:32 2015 +0200
summary:
Make _PyUnicode_TranslateCharmap() symbol private
unicodeobject.h exposes PyUnicode_TranslateCharmap() and PyUnicode_Translate().
files:
Objects/unicodeobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -8683,7 +8683,7 @@
return res;
}
-PyObject *
+static PyObject *
_PyUnicode_TranslateCharmap(PyObject *input,
PyObject *mapping,
const char *errors)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list