summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Curtin <brian@python.org>2011-11-08 20:54:02 (GMT)
committerBrian Curtin <brian@python.org>2011-11-08 20:54:02 (GMT)
commit4b6fabdff1fd9a539ca13b8174c9dc2a5c5828e8 (patch)
tree28101937122d589ceff77faa5e5d0522e9d7df80
parente751d6f2f15d76d3036019752178cafdd812218d (diff)
downloadcpython-4b6fabdff1fd9a539ca13b8174c9dc2a5c5828e8.zip
cpython-4b6fabdff1fd9a539ca13b8174c9dc2a5c5828e8.tar.gz
cpython-4b6fabdff1fd9a539ca13b8174c9dc2a5c5828e8.tar.bz2
Backed out changeset 60ae7979fec8
-rw-r--r--Doc/library/os.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 2436d26..92b24ac 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -872,7 +872,7 @@ as internal buffering of data.
.. versionadded:: 3.3
-.. function:: futimesat(dirfd, path, (atime, mtime)=None)
+.. function:: futimesat(dirfd, path[, (atime, mtime)])
Like :func:`utime` but if *path* is relative, it is taken as relative to *dirfd*.
If *path* is relative and *dirfd* is the special value :data:`AT_FDCWD`, then *path*
@@ -883,7 +883,7 @@ as internal buffering of data.
.. versionadded:: 3.3
-.. function:: futimens(fd, (atime_sec, atime_nsec)=None, (mtime_sec, mtime_nsec)=None)
+.. function:: futimens(fd[, (atime_sec, atime_nsec), (mtime_sec, mtime_nsec)])
Updates the timestamps of a file specified by the file descriptor *fd*, with
nanosecond precision.
@@ -909,7 +909,7 @@ as internal buffering of data.
.. versionadded:: 3.3
-.. function:: futimes(fd, (atime, mtime)=None)
+.. function:: futimes(fd[, (atime, mtime)])
Set the access and modified time of the file specified by the file
descriptor *fd* to the given values. If no second argument is used, set the
@@ -1285,7 +1285,7 @@ as internal buffering of data.
.. versionadded:: 3.3
-.. function:: utimensat(dirfd, path, atime=(atime_sec, atime_nsec), mtime=(mtime_sec, mtime_nsec), flags=0)
+.. function:: utimensat(dirfd, path[, atime=(atime_sec, atime_nsec), mtime=(mtime_sec, mtime_nsec), flags=0])
Updates the timestamps of a file with nanosecond precision.
The *atime* and *mtime* tuples default to ``None``, which sets those
@@ -1699,7 +1699,7 @@ Files and Directories
Added support for Windows 6.0 (Vista) symbolic links.
-.. function:: lutimes(path, (atime, mtime)=None)
+.. function:: lutimes(path[, (atime, mtime)])
Like :func:`utime`, but if *path* is a symbolic link, it is not
dereferenced.
@@ -2130,7 +2130,7 @@ Files and Directories
Availability: Unix, Windows.
-.. function:: utime(path, times=None)
+.. function:: utime(path[, times])
Set the access and modified times of the file specified by *path*. If *times*
is ``None`` or not specified, then the file's access and modified times are