summaryrefslogtreecommitdiff
path: root/src/lxml/python.pxd
diff options
context:
space:
mode:
authorscoder <none@none>2008-05-20 00:01:33 +0200
committerscoder <none@none>2008-05-20 00:01:33 +0200
commit438f5c8ae5d411fcb0b617794c4728fe86e43ed5 (patch)
treecbdd80f71bcf7f76f779221be9384983e3099199 /src/lxml/python.pxd
parente94e7b6ad00c12b77212f0e7b70eca3527b18d80 (diff)
downloadpython-lxml-438f5c8ae5d411fcb0b617794c4728fe86e43ed5.tar.gz
[svn r3686] r4232@delle: sbehnel | 2008-05-19 23:51:31 +0200
unicode filename handling, uses a heuristic to distinguish file paths and network paths, plus some general Py3 fixes --HG-- branch : trunk
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)