Skip to content

Commit 3b84126

Browse files
Improve filecmp typing (#7147)
1 parent 8cb1518 commit 3b84126

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

stdlib/filecmp.pyi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ BUFSIZE: Literal[8192]
1414

1515
def cmp(f1: StrOrBytesPath, f2: StrOrBytesPath, shallow: int | bool = ...) -> bool: ...
1616
def cmpfiles(
17-
a: AnyStr | PathLike[AnyStr], b: AnyStr | PathLike[AnyStr], common: Iterable[AnyStr], shallow: int | bool = ...
17+
a: AnyStr | PathLike[AnyStr],
18+
b: AnyStr | PathLike[AnyStr],
19+
common: Iterable[AnyStr | PathLike[AnyStr]],
20+
shallow: int | bool = ...,
1821
) -> tuple[list[AnyStr], list[AnyStr], list[AnyStr]]: ...
1922

2023
class dircmp(Generic[AnyStr]):

0 commit comments

Comments
 (0)