summaryrefslogtreecommitdiff
path: root/src/lxml/python.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'src/lxml/python.pxd')
-rw-r--r--src/lxml/python.pxd1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lxml/python.pxd b/src/lxml/python.pxd
index 51f3c4c4..6642e378 100644
--- a/src/lxml/python.pxd
+++ b/src/lxml/python.pxd
@@ -30,6 +30,7 @@ cdef extern from "Python.h":
char* errors)
cdef object PyUnicode_AsEncodedString(object u, char* encoding,
char* errors)
+ cdef object PyUnicode_FromFormat(char* format, ...) # Python 3
cdef object PyUnicode_Decode(char* s, Py_ssize_t size,
char* encoding, char* errors)
cdef object PyUnicode_DecodeUTF8(char* s, Py_ssize_t size, char* errors)