Skip to content

Commit 02f93bd

Browse files
committed
fix import
1 parent 361c41c commit 02f93bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/io/common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from collections.abc import (
1212
Generator,
1313
Hashable,
14+
Iterable,
1415
Mapping,
1516
Sequence,
1617
)
@@ -1324,7 +1325,7 @@ def _match_file(
13241325

13251326
def iterdir(
13261327
path: FilePath,
1327-
extensions: str | list[str] | None = None,
1328+
extensions: str | Iterable[str] | None = None,
13281329
glob: str | None = None,
13291330
) -> Generator[Path | PurePosixPath]:
13301331
"""Yield file paths in a directory (no nesting allowed).

0 commit comments

Comments
 (0)