Skip to content

Commit 36e09fe

Browse files
committed
BUG: Fix docstring error in _expand_colspan_rowspan
1 parent ce9f3ed commit 36e09fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/html.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ def _expand_colspan_rowspan(
471471
self,
472472
rows,
473473
section: Literal["header", "footer", "body"],
474-
remainder: list[int, tuple[str | tuple, int]] | None = None,
474+
remainder: list[tuple[int, str | tuple, int]] | None = None,
475475
overflow: bool = True,
476476
) -> list[list]:
477477
"""
@@ -482,7 +482,7 @@ def _expand_colspan_rowspan(
482482
rows : list of node-like
483483
List of <tr>s
484484
section : the section that the rows belong to (header, body or footer).
485-
remainder: list[int, tuple[str | tuple, int]] | None
485+
remainder: list[tuple[int, str | tuple, int]] | None
486486
Any remainder from the expansion of previous section
487487
overflow: bool
488488
If true, return any partial rows as 'remainder'. If not, use up any

0 commit comments

Comments
 (0)