From: Zachary Ware Date: Tue, 9 Aug 2016 22:10:39 +0000 (-0500) Subject: Issue #27722: Fix default for touch method's 'mode' argument X-Git-Tag: v3.6.0a4~42^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a26da5845bd38474051ca1550d13a6e9fbb8550;p=thirdparty%2FPython%2Fcpython.git Issue #27722: Fix default for touch method's 'mode' argument --- diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index 57a6a848f541..384611c791d3 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