mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Add stubs for tabulate (#2384)
This commit is contained in:
committed by
Sebastian Rittau
parent
0956a24eb2
commit
6206c5a9d3
18
third_party/2and3/tabulate.pyi
vendored
Normal file
18
third_party/2and3/tabulate.pyi
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
# Stub for tabulate: https://bitbucket.org/astanin/python-tabulate
|
||||
from typing import Any, Dict, Iterable, Sequence, Union
|
||||
|
||||
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
|
||||
def tabulate(
|
||||
tabular_data: Iterable[Iterable[Any]],
|
||||
headers: Union[str, Dict[str, str], Sequence[str]] = ...,
|
||||
tablefmt: str = ...,
|
||||
floatfmt: str = ...,
|
||||
numalign: str = ...,
|
||||
stralign: str = ...,
|
||||
missingval: str = ...,
|
||||
showindex: str = ...,
|
||||
disable_numparse: bool = ...
|
||||
) -> str:
|
||||
...
|
||||
Reference in New Issue
Block a user