mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
15 lines
522 B
Python
15 lines
522 B
Python
import datetime
|
|
from typing import Any, List, Mapping, Optional, Set, Tuple, Union
|
|
|
|
__version__: str
|
|
|
|
def parse(
|
|
date_string: str,
|
|
date_formats: Optional[Union[List[str], Tuple[str], Set[str]]] = ...,
|
|
languages: Optional[Union[List[str], Tuple[str], Set[str]]] = ...,
|
|
locales: Optional[Union[List[str], Tuple[str], Set[str]]] = ...,
|
|
region: Optional[str] = ...,
|
|
settings: Optional[Mapping[str, Any]] = ...,
|
|
) -> Optional[datetime.datetime]: ...
|
|
def __getattr__(name: str) -> Any: ... # incomplete
|