Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e06d025

Browse files
committed
Use \versionchanged to indicate when the second parameter to utime()
was allowed to be None.
1 parent a6e8339 commit e06d025

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Doc/lib/libos.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,8 +706,9 @@ \subsection{Files and Directories \label{os-file-dir}}
706706
Set the access and modified times of the file specified by \var{path}.
707707
If \var{times} is \code{None}, then the file's access and modified
708708
times are set to the current time. Otherwise, \var{times} must be a
709-
2-tuple of numbers, of the form \var{(atime, mtime)} which is used to
710-
set the access and modified times, respectively.
709+
2-tuple of numbers, of the form \code{(\var{atime}, \var{mtime})}
710+
which is used to set the access and modified times, respectively.
711+
\versionchanged[added support for \code{None} for \var{times}]{1.6}
711712
Availability: Macintosh, \UNIX{}, Windows.
712713
\end{funcdesc}
713714

0 commit comments

Comments
 (0)