diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 0ad8d71384c66e..f0985422be9e53 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -542,9 +542,10 @@ pathlib * Add :attr:`pathlib.Path.status` attribute, which stores an object implementing the :class:`pathlib.types.Status` protocol (also new). The object supports querying the file type and internally caching - :func:`~os.stat` results. Path objects generated by :meth:`Path.iterdir` - store :class:`os.DirEntry` objects, which are initialized with file type - information gleaned from scanning the parent directory. + :func:`~os.stat` results. Path objects generated by + :meth:`~pathlib.Path.iterdir` store :class:`os.DirEntry` objects, which are + initialized with file type information gleaned from scanning the parent + directory. (Contributed by Barney Gale in :gh:`125413`.)