#NEWLINE# def parse( self , source ) : #NEWLINE# #INDENT# from . import saxutils #NEWLINE# source = saxutils . prepare_input_source ( source ) #NEWLINE# self . prepareParser ( source ) #NEWLINE# file = source . getByteStream ( ) #NEWLINE# buffer = file . read ( self . _bufsize ) #NEWLINE# while buffer : #NEWLINE# #INDENT# self . feed ( buffer ) #NEWLINE# buffer = file . read ( self . _bufsize ) #NEWLINE# #UNINDENT# self . close ( )