Skip to content

Commit 366c69f

Browse files
authored
bpo-39906: Document new follow_symlinks argument to pathlib.Path.stat() and chmod() in 3.10 whatsnew. (pythonGH-26089)
1 parent d1560d2 commit 366c69f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/whatsnew/3.10.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1112,6 +1112,11 @@ supersedes :meth:`~pathlib.Path.link_to`. The new method has the same argument
11121112
order as :meth:`~pathlib.Path.symlink_to`.
11131113
(Contributed by Barney Gale in :issue:`39950`.)
11141114
1115+
:meth:`pathlib.Path.stat` and :meth:`~pathlib.Path.chmod` now accept a
1116+
*follow_symlinks* keyword-only argument for consistency with corresponding
1117+
functions in the :mod:`os` module.
1118+
(Contributed by Barney Gale in :issue:`39906`.)
1119+
11151120
platform
11161121
--------
11171122

0 commit comments

Comments
 (0)