commit | bf6e560d0ccbe6bee4d835a15a8e8e098b9c7ef6 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Mon Dec 12 01:53:47 2011 +0100 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Mon Dec 12 01:53:47 2011 +0100 |
tree | 42ccc12a1177bb5450efd6bd854f0ded5463e333 | |
parent | 7a9105a380779942bfe45936d074c8181dee14d9 [diff] [blame] |
Make PyUnicode_Copy() private => _PyUnicode_Copy() Undocument the function. Make also decode_utf8_errors() as private (static).
diff --git a/Objects/codeobject.c b/Objects/codeobject.c index c5057bd..550e284 100644 --- a/Objects/codeobject.c +++ b/Objects/codeobject.c
@@ -249,7 +249,7 @@ return NULL; } else { - item = PyUnicode_Copy(item); + item = _PyUnicode_Copy(item); if (item == NULL) { Py_DECREF(newtuple); return NULL;