Skip to content

Commit da12db8

Browse files
authored
TYP/BUG: fix CI (#41938)
1 parent ba86e19 commit da12db8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/io/formats/csvs.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from typing import (
1010
TYPE_CHECKING,
1111
Any,
12-
AnyStr,
1312
Hashable,
1413
Iterator,
1514
Sequence,
@@ -49,7 +48,7 @@ class CSVFormatter:
4948
def __init__(
5049
self,
5150
formatter: DataFrameFormatter,
52-
path_or_buf: FilePathOrBuffer[AnyStr] = "",
51+
path_or_buf: FilePathOrBuffer[str] | FilePathOrBuffer[bytes] = "",
5352
sep: str = ",",
5453
cols: Sequence[Hashable] | None = None,
5554
index_label: IndexLabel | None = None,

0 commit comments

Comments
 (0)