summaryrefslogtreecommitdiff
path: root/Objects/codeobject.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-12-12 01:53:47 +0100
committerVictor Stinner <victor.stinner@haypocalc.com>2011-12-12 01:53:47 +0100
commitbf6e560d0ccbe6bee4d835a15a8e8e098b9c7ef6 (patch)
tree42ccc12a1177bb5450efd6bd854f0ded5463e333 /Objects/codeobject.c
parent7a9105a380779942bfe45936d074c8181dee14d9 (diff)
downloadcpython-git-bf6e560d0ccbe6bee4d835a15a8e8e098b9c7ef6.tar.gz
Make PyUnicode_Copy() private => _PyUnicode_Copy()
Undocument the function. Make also decode_utf8_errors() as private (static).
Diffstat (limited to 'Objects/codeobject.c')
-rw-r--r--Objects/codeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/codeobject.c b/Objects/codeobject.c
index c5057bdeb9..550e28498d 100644
--- a/Objects/codeobject.c
+++ b/Objects/codeobject.c
@@ -249,7 +249,7 @@ validate_and_copy_tuple(PyObject *tup)
return NULL;
}
else {
- item = PyUnicode_Copy(item);
+ item = _PyUnicode_Copy(item);
if (item == NULL) {
Py_DECREF(newtuple);
return NULL;