Skip to content

Commit 3dd1153

Browse files
bpo-41066: Update the comparison section for os vs pathlib (GH-21261)
(cherry picked from commit 0eb9deb) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <[email protected]>
1 parent f24430f commit 3dd1153

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/library/pathlib.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,9 +1196,12 @@ os and os.path pathlib
11961196
:func:`os.path.exists` :meth:`Path.exists`
11971197
:func:`os.path.expanduser` :meth:`Path.expanduser` and
11981198
:meth:`Path.home`
1199+
:func:`os.listdir` :meth:`Path.iterdir`
11991200
:func:`os.path.isdir` :meth:`Path.is_dir`
12001201
:func:`os.path.isfile` :meth:`Path.is_file`
12011202
:func:`os.path.islink` :meth:`Path.is_symlink`
1203+
:func:`os.link` :meth:`Path.link_to`
1204+
:func:`os.symlink` :meth:`Path.symlink_to`
12021205
:func:`os.readlink` :meth:`Path.readlink`
12031206
:func:`os.stat` :meth:`Path.stat`,
12041207
:meth:`Path.owner`,

0 commit comments

Comments
 (0)