mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-20 00:28:28 +08:00
apply black and isort (#4287)
* apply black and isort * move some type ignores
This commit is contained in:
@@ -1,16 +1,20 @@
|
||||
from profile import Profile
|
||||
from cProfile import Profile as _cProfile
|
||||
from profile import Profile
|
||||
from typing import IO, Any, Dict, Iterable, List, Optional, Text, Tuple, TypeVar, Union, overload
|
||||
|
||||
from _typeshed import AnyPath
|
||||
from typing import Any, Dict, IO, Iterable, List, Optional, Text, Tuple, TypeVar, Union, overload
|
||||
|
||||
_Selector = Union[str, float, int]
|
||||
_T = TypeVar('_T', bound=Stats)
|
||||
_T = TypeVar("_T", bound=Stats)
|
||||
|
||||
class Stats:
|
||||
sort_arg_dict_default: Dict[str, Tuple[Any, str]]
|
||||
def __init__(self: _T, __arg: Union[None, str, Text, Profile, _cProfile] = ...,
|
||||
*args: Union[None, str, Text, Profile, _cProfile, _T],
|
||||
stream: Optional[IO[Any]] = ...) -> None: ...
|
||||
def __init__(
|
||||
self: _T,
|
||||
__arg: Union[None, str, Text, Profile, _cProfile] = ...,
|
||||
*args: Union[None, str, Text, Profile, _cProfile, _T],
|
||||
stream: Optional[IO[Any]] = ...,
|
||||
) -> None: ...
|
||||
def init(self, arg: Union[None, str, Text, Profile, _cProfile]) -> None: ...
|
||||
def load_stats(self, arg: Union[None, str, Text, Profile, _cProfile]) -> None: ...
|
||||
def get_top_level_stats(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user