fix some stubs

This commit is contained in:
Maxim Kurnikov committed 2019-02-22 02:55:49 +03:00
1 parent 73ea682356
commit b686751f19
42 files changed
+217 -381

No files matched your search

+1 -4
View File
@@ -1,6 +1,6 @@
from collections import UserList
from datetime import datetime
from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union, Sequence
from typing import Any, Dict, List, Optional, Sequence, Union
from django.core.exceptions import ValidationError
from django.utils.safestring import SafeText
@@ -28,9 +28,6 @@ class ErrorList(UserList):
def as_json(self, escape_html: bool = ...) -> str: ...
def as_ul(self) -> str: ...
def as_text(self) -> str: ...
def __reduce_ex__(
self, *args: Any, **kwargs: Any
) -> Tuple[Callable, Tuple[Type[ErrorList]], Dict[str, Union[List[ValidationError], str]], None, None]: ...
def from_current_timezone(value: datetime) -> datetime: ...
def to_current_timezone(value: datetime) -> datetime: ...