Changeset 2972:32dfe8da44d5 in livinglogic.python.xist

Show
Ignore:
Timestamp:
09/21/07 16:05:58 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
newparser
Message:

Remove obsolete method parse().

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/parsers.py

    r2968 r2972  
    491491        return root 
    492492 
    493     def parse(self, stream, base=None, sysid=None): 
    494         """ 
    495         Parse &xml; from the stream <arg>stream</arg> into an &xist; tree. 
    496         <arg>base</arg> is the base &url; for the parsing process, <arg>sysid</arg> 
    497         is the &xml; system identifier (defaulting to <arg>base</arg> if it is <lit>None</lit>). 
    498         """ 
    499         if sysid is None: 
    500             sysid = base 
    501         return self._parse(stream, base, sysid, self.encoding) 
    502  
    503  
    504493    def handle_enterstarttag(self, name, line, col): 
    505494        self._attrs = {}