diff Include/pyerrors.h @ 72475:8beaa9a37387

Implement PEP 393.
author Martin v. Löwis <martin@v.loewis.de>
date Wed, 28 Sep 2011 07:41:54 +0200
parents c0829c4e19cf
children 41a1de81ef2b
line wrap: on
line diff
--- a/Include/pyerrors.h	Tue Sep 27 20:52:04 2011 -0500
+++ b/Include/pyerrors.h	Wed Sep 28 07:41:54 2011 +0200
@@ -301,6 +301,12 @@
     Py_ssize_t end,
     const char *reason          /* UTF-8 encoded string */
     );
+PyAPI_FUNC(PyObject *) _PyUnicodeTranslateError_Create(
+    PyObject *object,
+    Py_ssize_t start,
+    Py_ssize_t end,
+    const char *reason          /* UTF-8 encoded string */
+    );
 #endif
 
 /* get the encoding attribute */