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:
Miss Islington (bot) 2021-05-13 05:35:01 -07:00 committed by GitHub
parent 7cbe6ca634
commit 2d972b8e7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1104,6 +1104,11 @@ supersedes :meth:`~pathlib.Path.link_to`. The new method has the same argument
order as :meth:`~pathlib.Path.symlink_to`. order as :meth:`~pathlib.Path.symlink_to`.
(Contributed by Barney Gale in :issue:`39950`.) (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 platform
-------- --------