]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39906: Document new follow_symlinks argument to pathlib.Path.stat() and chmod...
authorBarney Gale <barney.gale@gmail.com>
Thu, 13 May 2021 12:17:04 +0000 (13:17 +0100)
committerGitHub <noreply@github.com>
Thu, 13 May 2021 12:17:04 +0000 (13:17 +0100)
Doc/whatsnew/3.10.rst

index f42b830fa78706f083653d330639a43c04b06532..2d11efba4d0122030d8563045f9672ccca430180 100644 (file)
@@ -1112,6 +1112,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
 --------