Issue #27722: Fix default for touch method's 'mode' argument

This commit is contained in:
Zachary Ware 2016-08-09 17:10:39 -05:00
parent 378a1d77d9
commit 7a26da5845

View 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