diff options
author | Antoine Pitrou <antoine@python.org> | 2020-08-13 20:03:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-13 20:03:18 (GMT) |
commit | 43b3e4c32976bf069241ad8bb174929a816ee7ba (patch) | |
tree | 7f31850f79e722c9dc18a918bb905ab4585b64ce /Doc | |
parent | a3416c13b51af25675e175d4ffe07d8b925e7dbf (diff) | |
download | cpython-43b3e4c32976bf069241ad8bb174929a816ee7ba.zip cpython-43b3e4c32976bf069241ad8bb174929a816ee7ba.tar.gz cpython-43b3e4c32976bf069241ad8bb174929a816ee7ba.tar.bz2 |
[3.8] bpo-41066: Update the comparison section for os vs pathlib (GH-21261) (GH-21864)
(cherry picked from commit 0eb9deb4a62e6d9daa82bc2f67d1075864ca8ece)
Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
Automerge-Triggered-By: @pitrou
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/pathlib.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index b900d09..6df352f 100644 --- a/Doc/library/pathlib.rst +++ b/Doc/library/pathlib.rst @@ -1139,9 +1139,12 @@ os and os.path pathlib :func:`os.path.exists` :meth:`Path.exists` :func:`os.path.expanduser` :meth:`Path.expanduser` and :meth:`Path.home` +:func:`os.listdir` :meth:`Path.iterdir` :func:`os.path.isdir` :meth:`Path.is_dir` :func:`os.path.isfile` :meth:`Path.is_file` :func:`os.path.islink` :meth:`Path.is_symlink` +:func:`os.link` :meth:`Path.link_to` +:func:`os.symlink` :meth:`Path.symlink_to` :func:`os.stat` :meth:`Path.stat`, :meth:`Path.owner`, :meth:`Path.group` |