##// END OF EJS Templates
typing: fix the typehint for `skip` arg on `osutil.listdir()` to be optional...
Matt Harbison -
r50495:b6fc602e default
parent child Browse files
Show More
@@ -2,6 +2,7 b' from typing import ('
2 AnyStr,
2 AnyStr,
3 IO,
3 IO,
4 List,
4 List,
5 Optional,
5 Sequence,
6 Sequence,
6 )
7 )
7
8
@@ -15,7 +16,7 b' class stat:'
15 st_mtime: int
16 st_mtime: int
16 st_ctime: int
17 st_ctime: int
17
18
18 def listdir(path: bytes, st: bool, skip: bool) -> List[stat]: ...
19 def listdir(path: bytes, st: bool, skip: Optional[bool]) -> List[stat]: ...
19 def posixfile(name: AnyStr, mode: bytes, buffering: int) -> IO: ...
20 def posixfile(name: AnyStr, mode: bytes, buffering: int) -> IO: ...
20 def statfiles(names: Sequence[bytes]) -> List[stat]: ...
21 def statfiles(names: Sequence[bytes]) -> List[stat]: ...
21 def setprocname(name: bytes) -> None: ...
22 def setprocname(name: bytes) -> None: ...
General Comments 0
You need to be logged in to leave comments. Login now