summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-05-13 12:35:01 (GMT)
committerGitHub <noreply@github.com>2021-05-13 12:35:01 (GMT)
commit2d972b8e7cb5347ddf83dfcee461f550b59f0736 (patch)
treef22afe97fe88ef331fc5c40fd6aef3f2534b2ddb /Doc/whatsnew
parent7cbe6ca63495d478a3164d6d26ef36cb611abbbb (diff)
downloadcpython-2d972b8e7cb5347ddf83dfcee461f550b59f0736.zip
cpython-2d972b8e7cb5347ddf83dfcee461f550b59f0736.tar.gz
cpython-2d972b8e7cb5347ddf83dfcee461f550b59f0736.tar.bz2
bpo-39906: Document new follow_symlinks argument to pathlib.Path.stat() and chmod() in 3.10 whatsnew. (GH-26089)
(cherry picked from commit 366c69f3f63a2a1cce57dabe8f7c2e67d1df625d) Co-authored-by: Barney Gale <barney.gale@gmail.com>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.10.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index cdb15a0..b092029 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -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
--------