Skip to content

Commit 6206c5a

Browse files
gaulsrittau
authored andcommitted
Add stubs for tabulate (#2384)
1 parent 0956a24 commit 6206c5a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

third_party/2and3/tabulate.pyi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Stub for tabulate: https://bitbucket.org/astanin/python-tabulate
2+
from typing import Any, Dict, Iterable, Sequence, Union
3+
4+
5+
def __getattr__(name: str) -> Any: ...
6+
7+
def tabulate(
8+
tabular_data: Iterable[Iterable[Any]],
9+
headers: Union[str, Dict[str, str], Sequence[str]] = ...,
10+
tablefmt: str = ...,
11+
floatfmt: str = ...,
12+
numalign: str = ...,
13+
stralign: str = ...,
14+
missingval: str = ...,
15+
showindex: str = ...,
16+
disable_numparse: bool = ...
17+
) -> str:
18+
...

0 commit comments

Comments
 (0)