summaryrefslogtreecommitdiff
path: root/Cython/StringIOTree.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/StringIOTree.pxd')
-rw-r--r--Cython/StringIOTree.pxd6
1 files changed, 6 insertions, 0 deletions
diff --git a/Cython/StringIOTree.pxd b/Cython/StringIOTree.pxd
index 20455c9df..49cea78fb 100644
--- a/Cython/StringIOTree.pxd
+++ b/Cython/StringIOTree.pxd
@@ -1,13 +1,19 @@
cimport cython
+cdef object StringIO
+
+@cython.final
cdef class StringIOTree:
cdef public list prepended_children
cdef public object stream
cdef public object write
cdef public list markers
+ cpdef bint empty(self)
@cython.locals(x=StringIOTree)
cpdef getvalue(self)
+ @cython.locals(x=StringIOTree)
+ cdef _collect_in(self, list target_list)
@cython.locals(child=StringIOTree)
cpdef copyto(self, target)
cpdef commit(self)