summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.path.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-09-01 13:51:09 (GMT)
committerGeorg Brandl <georg@python.org>2007-09-01 13:51:09 (GMT)
commit55ac8f0f26efdbbcb5cc197f9369d23d50bee908 (patch)
treea0d5b7128c055d8c767652dc3948c3404be06396 /Doc/library/os.path.rst
parent1617457cff847fed9fadb01f1acf6ba8bb621726 (diff)
downloadcpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.zip
cpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.tar.gz
cpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.tar.bz2
Get rid of the remaining versionadded/versionchanged directives.
Diffstat (limited to 'Doc/library/os.path.rst')
-rw-r--r--Doc/library/os.path.rst35
1 files changed, 4 insertions, 31 deletions
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
index 291d155..667cb90 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -23,8 +23,6 @@ write files see :func:`open`, and for accessing the filesystem see the
Return a normalized absolutized version of the pathname *path*. On most
platforms, this is equivalent to ``normpath(join(os.getcwd(), path))``.
- .. versionadded:: 1.5.2
-
.. function:: basename(path)
@@ -62,8 +60,6 @@ write files see :func:`open`, and for accessing the filesystem see the
broken symbolic links. Equivalent to :func:`exists` on platforms lacking
:func:`os.lstat`.
- .. versionadded:: 2.4
-
.. function:: expanduser(path)
@@ -103,11 +99,8 @@ write files see :func:`open`, and for accessing the filesystem see the
the number of seconds since the epoch (see the :mod:`time` module). Raise
:exc:`os.error` if the file does not exist or is inaccessible.
- .. versionadded:: 1.5.2
-
- .. versionchanged:: 2.3
- If :func:`os.stat_float_times` returns True, the result is a floating point
- number.
+ If :func:`os.stat_float_times` returns True, the result is a floating point
+ number.
.. function:: getmtime(path)
@@ -116,11 +109,8 @@ write files see :func:`open`, and for accessing the filesystem see the
giving the number of seconds since the epoch (see the :mod:`time` module).
Raise :exc:`os.error` if the file does not exist or is inaccessible.
- .. versionadded:: 1.5.2
-
- .. versionchanged:: 2.3
- If :func:`os.stat_float_times` returns True, the result is a floating point
- number.
+ If :func:`os.stat_float_times` returns True, the result is a floating point
+ number.
.. function:: getctime(path)
@@ -131,16 +121,12 @@ write files see :func:`open`, and for accessing the filesystem see the
the :mod:`time` module). Raise :exc:`os.error` if the file does not exist or
is inaccessible.
- .. versionadded:: 2.3
-
.. function:: getsize(path)
Return the size, in bytes, of *path*. Raise :exc:`os.error` if the file does
not exist or is inaccessible.
- .. versionadded:: 1.5.2
-
.. function:: isabs(path)
@@ -207,8 +193,6 @@ write files see :func:`open`, and for accessing the filesystem see the
Return the canonical path of the specified filename, eliminating any symbolic
links encountered in the path (if they are supported by the operating system).
- .. versionadded:: 2.2
-
.. function:: relpath(path[, start])
@@ -217,8 +201,6 @@ write files see :func:`open`, and for accessing the filesystem see the
*start* defaults to :attr:`os.curdir`. Availability: Windows, Unix.
- .. versionadded:: 2.6
-
.. function:: samefile(path1, path2)
@@ -260,8 +242,6 @@ write files see :func:`open`, and for accessing the filesystem see the
specifications, *drive* will always be the empty string. In all cases, ``drive
+ tail`` will be the same as *path*.
- .. versionadded:: 1.3
-
.. function:: splitext(path)
@@ -270,10 +250,6 @@ write files see :func:`open`, and for accessing the filesystem see the
period. Leading periods on the basename are ignored; ``splitext('.cshrc')``
returns ``('.cshrc', '')``.
- .. versionchanged:: 2.6
- Earlier versions could produce an empty root when the only period was the
- first character.
-
.. function:: splitunc(path)
@@ -312,6 +288,3 @@ write files see :func:`open`, and for accessing the filesystem see the
True if arbitrary Unicode strings can be used as file names (within limitations
imposed by the file system), and if :func:`os.listdir` returns Unicode strings
for a Unicode argument.
-
- .. versionadded:: 2.3
-