mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-13 15:31:55 +08:00
12 lines
433 B
Python
12 lines
433 B
Python
from typing import 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: ...
|