From 7a26da5845bd38474051ca1550d13a6e9fbb8550 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Tue, 9 Aug 2016 17:10:39 -0500 Subject: Issue #27722: Fix default for touch method's 'mode' argument --- Doc/library/pathlib.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index 57a6a84..384611c 100644 --- a/Doc/library/pathlib.rst +++ b/Doc/library/pathlib.rst @@ -989,7 +989,7 @@ call fails (for example because the path doesn't exist): of :func:`os.symlink`'s. -.. method:: Path.touch(mode=0o777, exist_ok=True) +.. method:: Path.touch(mode=0o666, exist_ok=True) Create a file at this given path. If *mode* is given, it is combined with the process' ``umask`` value to determine the file mode and access -- cgit v0.12