[Python-checkins] cpython (3.5): Issue #27722: Fix default for touch method's 'mode' argument
zach.ware
python-checkins at python.org
Tue Aug 9 18:11:08 EDT 2016
https://hg.python.org/cpython/rev/773bc9a3172d
changeset: 102586:773bc9a3172d
branch: 3.5
parent: 102584:df92f9856b59
user: Zachary Ware <zachary.ware at gmail.com>
date: Tue Aug 09 17:10:39 2016 -0500
summary:
Issue #27722: Fix default for touch method's 'mode' argument
files:
Doc/library/pathlib.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst
--- a/Doc/library/pathlib.rst
+++ b/Doc/library/pathlib.rst
@@ -989,7 +989,7 @@
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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list