From 438f5c8ae5d411fcb0b617794c4728fe86e43ed5 Mon Sep 17 00:00:00 2001 From: scoder Date: Tue, 20 May 2008 00:01:33 +0200 Subject: [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 --- src/lxml/python.pxd | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lxml/python.pxd') 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) -- cgit v1.2.1