Files
django-stubs/django-stubs/utils/safestring.pyi
2018-12-03 18:52:44 +03:00

15 lines
286 B
Python

from typing import Any
class SafeData:
def __html__(self) -> SafeText: ...
class SafeBytes(bytes, SafeData):
def __add__(self, rhs: Any): ...
class SafeText(str, SafeData):
def __add__(self, rhs: str) -> str: ...
SafeString = SafeText
def mark_safe(s: Any) -> Any: ...