Skip to content

Commit 6e16a4c

Browse files
authored
Fix os.chmod default value (#11775)
1 parent 0445d74 commit 6e16a4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/os/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ if sys.platform != "win32":
747747

748748
def getcwd() -> str: ...
749749
def getcwdb() -> bytes: ...
750-
def chmod(path: FileDescriptorOrPath, mode: int, *, dir_fd: int | None = None, follow_symlinks: bool = True) -> None: ...
750+
def chmod(path: FileDescriptorOrPath, mode: int, *, dir_fd: int | None = None, follow_symlinks: bool = ...) -> None: ...
751751

752752
if sys.platform != "win32" and sys.platform != "linux":
753753
def chflags(path: StrOrBytesPath, flags: int, follow_symlinks: bool = True) -> None: ... # some flavors of Unix

0 commit comments

Comments
 (0)