Skip to content

Commit 0eb9deb

Browse files
bpo-41066: Update the comparison section for os vs pathlib (GH-21261)
1 parent d3ded08 commit 0eb9deb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/library/pathlib.rst

+3
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)