]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39906: Document new follow_symlinks argument to pathlib.Path.stat() and chmod...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 13 May 2021 12:35:01 +0000 (05:35 -0700)
committerGitHub <noreply@github.com>
Thu, 13 May 2021 12:35:01 +0000 (05:35 -0700)
(cherry picked from commit 366c69f3f63a2a1cce57dabe8f7c2e67d1df625d)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
Doc/whatsnew/3.10.rst

index cdb15a06e9e3c54e64f4e6a7387c989d18a8bf6d..b0920294572b551f322ef46469a4d89a7b0fb76b 100644 (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`.
 (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
 --------