Format: application/octet-stream
⬇ Download File (433 B)
   1  from typing import Dict, Optional
   2  from xml.sax.saxutils import XMLGenerator
   3  
   4  class UnserializableContentError(ValueError): ...
   5  
   6  class SimplerXMLGenerator(XMLGenerator):
   7      def addQuickElement(
   8          self, name: str, contents: Optional[str] = ..., attrs: Optional[Dict[str, str]] = ...
   9      ) -> None: ...
  10      def characters(self, content: str) -> None: ...
  11      def startElement(self, name: str, attrs: Dict[str, str]) -> None: ...
  12