Skip to content

Commit 43b3e4c

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

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
@@ -1139,9 +1139,12 @@ os and os.path pathlib
11391139
:func:`os.path.exists` :meth:`Path.exists`
11401140
:func:`os.path.expanduser` :meth:`Path.expanduser` and
11411141
:meth:`Path.home`
1142+
:func:`os.listdir` :meth:`Path.iterdir`
11421143
:func:`os.path.isdir` :meth:`Path.is_dir`
11431144
:func:`os.path.isfile` :meth:`Path.is_file`
11441145
:func:`os.path.islink` :meth:`Path.is_symlink`
1146+
:func:`os.link` :meth:`Path.link_to`
1147+
:func:`os.symlink` :meth:`Path.symlink_to`
11451148
:func:`os.stat` :meth:`Path.stat`,
11461149
:meth:`Path.owner`,
11471150
:meth:`Path.group`

0 commit comments

Comments
 (0)