move generated stubs to separate directory, too messty

This commit is contained in:
Maxim Kurnikov
2018-11-10 17:49:18 +03:00
parent 7436d641e3
commit 96cd3ddb27
446 changed files with 58 additions and 71 deletions

View File

@@ -0,0 +1,19 @@
from typing import Any, Callable, Optional, Union
from django.forms.boundfield import BoundField
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: Union[Callable, BoundField, str]
) -> Union[Callable, BoundField, str]: ...