FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.12] gh-117114: Update availability and source code link in os.path.rst by nineteendo · Pull Request #117756 · python/cpython · GitHub

/ cpython Public
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
12 changes: 1 addition & 11 deletions Doc/library/os.path.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.. module:: os.path
:synopsis: Operations on pathnames.

**Source code:** :source:`Lib/posixpath.py` (for POSIX) and
**Source code:** :source:`Lib/genericpath.py`, :source:`Lib/posixpath.py` (for POSIX) and
:source:`Lib/ntpath.py` (for Windows).

.. index:: single: path; operations
Expand Down Expand Up @@ -85,8 +85,6 @@ the :mod:`glob` module.)
if *paths* is empty. Unlike :func:`commonprefix`, this returns a
valid path.

.. availability:: Unix, Windows.

.. versionadded:: 3.5

.. versionchanged:: 3.6
Expand Down Expand Up @@ -412,8 +410,6 @@ the :mod:`glob` module.)

*start* defaults to :data:`os.curdir`.

.. availability:: Unix, Windows.

.. versionchanged:: 3.6
Accepts a :term:`path-like object`.

Expand All @@ -424,8 +420,6 @@ the :mod:`glob` module.)
This is determined by the device number and i-node number and raises an
exception if an :func:`os.stat` call on either pathname fails.

.. availability:: Unix, Windows.

.. versionchanged:: 3.2
Added Windows support.

Expand All @@ -440,8 +434,6 @@ the :mod:`glob` module.)

Return ``True`` if the file descriptors *fp1* and *fp2* refer to the same file.

.. availability:: Unix, Windows.

.. versionchanged:: 3.2
Added Windows support.

Expand All @@ -456,8 +448,6 @@ the :mod:`glob` module.)
:func:`os.lstat`, or :func:`os.stat`. This function implements the
underlying comparison used by :func:`samefile` and :func:`sameopenfile`.

.. availability:: Unix, Windows.

.. versionchanged:: 3.4
Added Windows support.

Expand Down

Back | FazBrowse Home | New Git URL