]> granicus.if.org Git - python/commitdiff
Take PyUnicode_TransformDecimalToASCII out of the limited API.
authorGeorg Brandl <georg@python.org>
Sun, 5 Dec 2010 11:40:48 +0000 (11:40 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 5 Dec 2010 11:40:48 +0000 (11:40 +0000)
Include/unicodeobject.h

index abd286db4f79e011d93f11fdb27128feafc9db5c..ad24066df862c8d52dd6cdd3ffa787d61e7007e7 100644 (file)
@@ -1231,10 +1231,12 @@ PyAPI_FUNC(int) PyUnicode_EncodeDecimal(
    Returns a new Unicode string on success, NULL on failure.
 */
 
+#ifndef Py_LIMITED_API
 PyAPI_FUNC(PyObject*) PyUnicode_TransformDecimalToASCII(
     Py_UNICODE *s,              /* Unicode buffer */
     Py_ssize_t length           /* Number of Py_UNICODE chars to transform */
     );
+#endif
 
 /* --- File system encoding ---------------------------------------------- */