Blob Blame History Raw
--- python/sphinxbase.pxd.orig	2011-04-14 10:22:03.000000000 -0600
+++ python/sphinxbase.pxd	2011-04-19 13:31:08.623275618 -0600
@@ -20,6 +20,9 @@
     void PyMem_Free(void *p)
     object PyString_FromStringAndSize(char *v, Py_ssize_t len)
 
+cdef extern from "fileobject.h":
+    ctypedef class __builtin__.file [object PyFileObject]: pass
+
 cdef extern from "sphinxbase/logmath.h":
     ctypedef struct logmath_t
     logmath_t *logmath_init(float64 base, int shift, int use_table)