summaryrefslogtreecommitdiffstats
path: root/Doc/library/pathlib.rst
diff options
context:
space:
mode:
authorSrinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>2020-08-13 19:52:04 (GMT)
committerGitHub <noreply@github.com>2020-08-13 19:52:04 (GMT)
commit0eb9deb4a62e6d9daa82bc2f67d1075864ca8ece (patch)
treeb27dbde7eac9e5b5b85123029b4879dc0b58c8d4 /Doc/library/pathlib.rst
parentd3ded080482beae578faa704b13534a62d066f9f (diff)
downloadcpython-0eb9deb4a62e6d9daa82bc2f67d1075864ca8ece.zip
cpython-0eb9deb4a62e6d9daa82bc2f67d1075864ca8ece.tar.gz
cpython-0eb9deb4a62e6d9daa82bc2f67d1075864ca8ece.tar.bz2
bpo-41066: Update the comparison section for os vs pathlib (GH-21261)
Diffstat (limited to 'Doc/library/pathlib.rst')
-rw-r--r--Doc/library/pathlib.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst
index bf6fee4..f705d15 100644
--- a/Doc/library/pathlib.rst
+++ b/Doc/library/pathlib.rst
@@ -1196,9 +1196,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.readlink` :meth:`Path.readlink`
:func:`os.stat` :meth:`Path.stat`,
:meth:`Path.owner`,