]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
added strftime
authorGuido van Rossum <guido@python.org>
Wed, 13 Sep 1995 17:37:49 +0000 (17:37 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 13 Sep 1995 17:37:49 +0000 (17:37 +0000)
Doc/lib/libtime.tex
Doc/libtime.tex

index 746e21e5ccaaa3371d8d534be49b288005ce765b..56488d1361d02754d3bd2fc515f0e21a0c1762ca 100644 (file)
@@ -94,6 +94,13 @@ Suspend execution for the given number of seconds.  The argument may
 be a floating point number to indicate a more precise sleep time.
 \end{funcdesc}
 
+\begin{funcdesc}{strftime}{format, tuple}
+Convert a tuple representing a time as returned by \code{gmtime()} or
+\code{localtime()} to a string as specified by the format argument.
+See the \code{strftime(3)} man page for details of the syntax of
+format strings.
+\end{funcdesc}
+
 \begin{funcdesc}{time}{}
 Return the time as a floating point number expressed in seconds since
 the epoch, in UTC.  Note that even though the time is always returned
index 746e21e5ccaaa3371d8d534be49b288005ce765b..56488d1361d02754d3bd2fc515f0e21a0c1762ca 100644 (file)
@@ -94,6 +94,13 @@ Suspend execution for the given number of seconds.  The argument may
 be a floating point number to indicate a more precise sleep time.
 \end{funcdesc}
 
+\begin{funcdesc}{strftime}{format, tuple}
+Convert a tuple representing a time as returned by \code{gmtime()} or
+\code{localtime()} to a string as specified by the format argument.
+See the \code{strftime(3)} man page for details of the syntax of
+format strings.
+\end{funcdesc}
+
 \begin{funcdesc}{time}{}
 Return the time as a floating point number expressed in seconds since
 the epoch, in UTC.  Note that even though the time is always returned