mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-09 05:24:53 +08:00
16 lines
464 B
Python
16 lines
464 B
Python
from typing import Any, Dict, Optional
|
|
from xml.sax.saxutils import XMLGenerator
|
|
|
|
|
|
class UnserializableContentError(ValueError): ...
|
|
|
|
class SimplerXMLGenerator(XMLGenerator):
|
|
def addQuickElement(
|
|
self,
|
|
name: str,
|
|
contents: Optional[str] = ...,
|
|
attrs: Optional[Dict[str, str]] = ...,
|
|
) -> None: ...
|
|
def characters(self, content: str) -> None: ...
|
|
def startElement(self, name: str, attrs: Dict[str, str]) -> None: ...
|