Project

General

Profile

« Previous | Next » 

Revision 1764

xml_parse.py: ConsecXmlInputStream: Removed read() because that's now defined in streams.FilterStream

View differences:

lib/xml_parse.py
33 33
            self.eof = False
34 34
            return '' # don't read from underlying stream
35 35
        else: return streams.TracedStream.readline(self)
36
    
37
    def read(self, n): return self.readline() # forward all reads to readline()
38 36

  
39 37
def parse_next(stream, on_error=exc.raise_):
40 38
    '''Parses the next document in a consecutive sequence of XML documents.

Also available in: Unified diff