You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
981 B

from tornado_py3.util import unicode_type as unicode_type
from typing import Any, Callable, Dict, List, Union
def xhtml_escape(value: Union[str, bytes]) -> str: ...
def xhtml_unescape(value: Union[str, bytes]) -> str: ...
def json_encode(value: Any) -> str: ...
def json_decode(value: Union[str, bytes]) -> Any: ...
def squeeze(value: str) -> str: ...
def url_escape(value: Union[str, bytes], plus: bool=...) -> str: ...
def url_unescape(value: Union[str, bytes], encoding: None, plus: bool=...) -> bytes: ...
def parse_qs_bytes(qs: str, keep_blank_values: bool=..., strict_parsing: bool=...) -> Dict[str, List[bytes]]: ...
def utf8(value: bytes) -> bytes: ...
def to_unicode(value: str) -> str: ...
native_str = to_unicode
to_basestring = to_unicode
def recursive_unicode(obj: Any) -> Any: ...
def linkify(text: Union[str, bytes], shorten: bool=..., extra_params: Union[str, Callable[[str], str]]=..., require_protocol: bool=..., permitted_protocols: List[str]=...) -> str: ...