mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-11233: Create availability directive for documentation (GH-9692)
Replace "Availability: xxx" with ".. availability:: xxx" in the doc. Original patch by Georg Brandl. Co-Authored-By: Georg Brandl <georg@python.org>
This commit is contained in:
parent
da2bf9f66d
commit
2d6097d027
27 changed files with 351 additions and 291 deletions
|
@ -93,7 +93,7 @@ the :mod:`glob` module.)
|
|||
pathnames, or if *paths* is empty. Unlike :func:`commonprefix`, this
|
||||
returns a valid path.
|
||||
|
||||
Availability: Unix, Windows
|
||||
.. availability:: Unix, Windows.
|
||||
|
||||
.. versionadded:: 3.5
|
||||
|
||||
|
@ -357,7 +357,7 @@ the :mod:`glob` module.)
|
|||
|
||||
*start* defaults to :attr:`os.curdir`.
|
||||
|
||||
Availability: Unix, Windows.
|
||||
.. availability:: Unix, Windows.
|
||||
|
||||
.. versionchanged:: 3.6
|
||||
Accepts a :term:`path-like object`.
|
||||
|
@ -369,7 +369,7 @@ 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.
|
||||
.. availability:: Unix, Windows.
|
||||
|
||||
.. versionchanged:: 3.2
|
||||
Added Windows support.
|
||||
|
@ -385,7 +385,7 @@ the :mod:`glob` module.)
|
|||
|
||||
Return ``True`` if the file descriptors *fp1* and *fp2* refer to the same file.
|
||||
|
||||
Availability: Unix, Windows.
|
||||
.. availability:: Unix, Windows.
|
||||
|
||||
.. versionchanged:: 3.2
|
||||
Added Windows support.
|
||||
|
@ -401,7 +401,7 @@ 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.
|
||||
.. availability:: Unix, Windows.
|
||||
|
||||
.. versionchanged:: 3.4
|
||||
Added Windows support.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue