summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-08-09 22:10:39 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-08-09 22:10:39 (GMT)
commit7a26da5845bd38474051ca1550d13a6e9fbb8550 (patch)
tree64b5a839c766072c236b216e5262f6d7c61ef58f
parent378a1d77d9f257a914a35dbbfdf16bd8a8f3ef36 (diff)
downloadcpython-7a26da5845bd38474051ca1550d13a6e9fbb8550.zip
cpython-7a26da5845bd38474051ca1550d13a6e9fbb8550.tar.gz
cpython-7a26da5845bd38474051ca1550d13a6e9fbb8550.tar.bz2
Issue #27722: Fix default for touch method's 'mode' argument
-rw-r--r--Doc/library/pathlib.rst2
1 files changed, 1 insertions, 1 deletions
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