mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
Issue #27722: Fix default for touch method's 'mode' argument
This commit is contained in:
parent
378a1d77d9
commit
7a26da5845
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue