Skip to content

Commit 2d972b8

Browse files
bpo-39906: Document new follow_symlinks argument to pathlib.Path.stat() and chmod() in 3.10 whatsnew. (GH-26089)
(cherry picked from commit 366c69f) Co-authored-by: Barney Gale <barney.gale@gmail.com>
1 parent 7cbe6ca commit 2d972b8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,11 @@ supersedes :meth:`~pathlib.Path.link_to`. The new method has the same argument
11041104
order as :meth:`~pathlib.Path.symlink_to`.
11051105
(Contributed by Barney Gale in :issue:`39950`.)
11061106
1107+
:meth:`pathlib.Path.stat` and :meth:`~pathlib.Path.chmod` now accept a
1108+
*follow_symlinks* keyword-only argument for consistency with corresponding
1109+
functions in the :mod:`os` module.
1110+
(Contributed by Barney Gale in :issue:`39906`.)
1111+
11071112
platform
11081113
--------
11091114

0 commit comments

Comments
 (0)