mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
committed by
Matthias Kramm
parent
2b97c02801
commit
fee2eaae30
@@ -1,12 +1,12 @@
|
||||
import sys
|
||||
from typing import Mapping
|
||||
from typing import AnyStr, Mapping
|
||||
|
||||
from xml.sax import handler
|
||||
from xml.sax import xmlreader
|
||||
|
||||
def escape(data: str, entities: Mapping[str, str] = ...) -> str: ...
|
||||
def unescape(data: str, entities: Mapping[str, str] = ...) -> str: ...
|
||||
def quoteattr(data: str, entities: Mapping[str, str] = ...) -> str: ...
|
||||
def escape(data: AnyStr, entities: Mapping[str, str] = ...) -> AnyStr: ...
|
||||
def unescape(data: AnyStr, entities: Mapping[str, str] = ...) -> AnyStr: ...
|
||||
def quoteattr(data: AnyStr, entities: Mapping[str, str] = ...) -> AnyStr: ...
|
||||
|
||||
class XMLGenerator(handler.ContentHandler):
|
||||
if sys.version_info >= (3, 0):
|
||||
|
||||
Reference in New Issue
Block a user