mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 20:54:29 +08:00
12 lines
438 B
Python
12 lines
438 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: ...
|