mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
bpo-41066: Update the comparison section for os vs pathlib (GH-21261)
(cherry picked from commit 0eb9deb4a6)
Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
This commit is contained in:
parent
f24430f154
commit
3dd1153b99
1 changed files with 3 additions and 0 deletions
|
|
@ -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`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue