class_docstr: SAX driver for the pyexpat C module.
class_docstr_tok: ["SAX","driver","for","the","pyexpat","C","module","."]
code: def feed(self, data, isFinal=False):
      if not self._parsing:
          self.reset()
          self._parsing = True
          self._cont_handler.startDocument()
  
      try:
          # The isFinal parameter is internal to the expat reader.
          # If it is set to true, expat will check validity of the entire
          # document. When feeding chunks, they are not normally final -
          # except when invoked from close.
          self._parser.Parse(data, isFinal)
      except expat.error as e:
          exc = SAXParseException(expat.ErrorString(e.code), e, self)
          # FIXME: when to invoke error()?
          self._err_handler.fatalError(exc)
  
imports: from xml.sax._exceptions import *
  from xml.sax.handler import feature_validation, feature_namespaces
  from xml.sax.handler import feature_namespace_prefixes
  from xml.sax.handler import feature_external_ges, feature_external_pes
  from xml.sax.handler import feature_string_interning
  from xml.sax.handler import property_xml_string, property_interning_dict
  from xml.sax import xmlreader, saxutils, handler
label_desc: Use image node_id 9 for calling the ExpatParser obj's underlying member method code with example usage: obj.feed(data, isFinal) without return types