]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #27722: Fix default for touch method's 'mode' argument
authorZachary Ware <zachary.ware@gmail.com>
Tue, 9 Aug 2016 22:10:39 +0000 (17:10 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Tue, 9 Aug 2016 22:10:39 +0000 (17:10 -0500)
Doc/library/pathlib.rst

index 57a6a848f541cfd47dfe38461d069fb9c968837c..384611c791d33d891744b10b74c555600172c01d 100644 (file)
@@ -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