Skip to content

Commit be1ef62

Browse files
TYP/CI: fix to_string overload (#44510)
1 parent fb567c8 commit be1ef62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ def to_string(
10691069
@overload
10701070
def to_string(
10711071
self,
1072-
buf: FilePathOrBuffer[str],
1072+
buf: FilePath | WriteBuffer[str],
10731073
columns: Sequence[str] | None = ...,
10741074
col_space: int | list[int] | dict[Hashable, int] | None = ...,
10751075
header: bool | Sequence[str] = ...,

0 commit comments

Comments
 (0)