Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
723df004
Commit
723df004
authored
Nov 08, 2011
by
Brian Curtin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the old style [...] to denote optional args and show the defaults.
parent
247b2b0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Doc/library/os.rst
Doc/library/os.rst
+6
-6
No files found.
Doc/library/os.rst
View file @
723df004
...
@@ -872,7 +872,7 @@ as internal buffering of data.
...
@@ -872,7 +872,7 @@ as internal buffering of data.
.. versionadded:: 3.3
.. versionadded:: 3.3
.. function:: futimesat(dirfd, path
[, (atime, mtime)]
)
.. function:: futimesat(dirfd, path
, (atime, mtime)=None
)
Like :func:`utime` but if *path* is relative, it is taken as relative to *dirfd*.
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*
If *path* is relative and *dirfd* is the special value :data:`AT_FDCWD`, then *path*
...
@@ -883,7 +883,7 @@ as internal buffering of data.
...
@@ -883,7 +883,7 @@ as internal buffering of data.
.. versionadded:: 3.3
.. versionadded:: 3.3
.. function:: futimens(fd
[, (atime_sec, atime_nsec), (mtime_sec, mtime_nsec)]
)
.. function:: futimens(fd
, (atime_sec, atime_nsec)=None, (mtime_sec, mtime_nsec)=None
)
Updates the timestamps of a file specified by the file descriptor *fd*, with
Updates the timestamps of a file specified by the file descriptor *fd*, with
nanosecond precision.
nanosecond precision.
...
@@ -909,7 +909,7 @@ as internal buffering of data.
...
@@ -909,7 +909,7 @@ as internal buffering of data.
.. versionadded:: 3.3
.. versionadded:: 3.3
.. function:: futimes(fd
[, (atime, mtime)]
)
.. function:: futimes(fd
, (atime, mtime)=None
)
Set the access and modified time of the file specified by the file
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
descriptor *fd* to the given values. If no second argument is used, set the
...
@@ -1285,7 +1285,7 @@ as internal buffering of data.
...
@@ -1285,7 +1285,7 @@ as internal buffering of data.
.. versionadded:: 3.3
.. 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.
Updates the timestamps of a file with nanosecond precision.
The *atime* and *mtime* tuples default to ``None``, which sets those
The *atime* and *mtime* tuples default to ``None``, which sets those
...
@@ -1699,7 +1699,7 @@ Files and Directories
...
@@ -1699,7 +1699,7 @@ Files and Directories
Added support for Windows 6.0 (Vista) symbolic links.
Added support for Windows 6.0 (Vista) symbolic links.
.. function:: lutimes(path
[, (atime, mtime)]
)
.. function:: lutimes(path
, (atime, mtime)=None
)
Like :func:`utime`, but if *path* is a symbolic link, it is not
Like :func:`utime`, but if *path* is a symbolic link, it is not
dereferenced.
dereferenced.
...
@@ -2130,7 +2130,7 @@ Files and Directories
...
@@ -2130,7 +2130,7 @@ Files and Directories
Availability: Unix, Windows.
Availability: Unix, Windows.
.. function:: utime(path
[, times]
)
.. function:: utime(path
, times=None
)
Set the access and modified times of the file specified by *path*. If *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
is ``None`` or not specified, then the file's access and modified times are
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment