mirror of
https://github.com/python/cpython.git
synced 2025-10-03 05:35:59 +00:00
bpo-39906: Document new follow_symlinks argument to pathlib.Path.stat() and chmod() in 3.10 whatsnew. (GH-26089)
(cherry picked from commit 366c69f3f6
)
Co-authored-by: Barney Gale <barney.gale@gmail.com>
This commit is contained in:
parent
7cbe6ca634
commit
2d972b8e7c
1 changed files with 5 additions and 0 deletions
|
@ -1104,6 +1104,11 @@ supersedes :meth:`~pathlib.Path.link_to`. The new method has the same argument
|
|||
order as :meth:`~pathlib.Path.symlink_to`.
|
||||
(Contributed by Barney Gale in :issue:`39950`.)
|
||||
|
||||
:meth:`pathlib.Path.stat` and :meth:`~pathlib.Path.chmod` now accept a
|
||||
*follow_symlinks* keyword-only argument for consistency with corresponding
|
||||
functions in the :mod:`os` module.
|
||||
(Contributed by Barney Gale in :issue:`39906`.)
|
||||
|
||||
platform
|
||||
--------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue