summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libtime.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-20 04:24:09 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-20 04:24:09 (GMT)
commit0aa811c527372fbee0e20192bba3cf343a744e08 (patch)
treeab0d86073c96b664d6b9d87ea84cdb8cdb263755 /Doc/lib/libtime.tex
parent64a5aaf05ca20bdbd72c30fa0cfdda2ae9a347d9 (diff)
downloadcpython-0aa811c527372fbee0e20192bba3cf343a744e08.zip
cpython-0aa811c527372fbee0e20192bba3cf343a744e08.tar.gz
cpython-0aa811c527372fbee0e20192bba3cf343a744e08.tar.bz2
Use the \note and \warning macros where appropriate.
Diffstat (limited to 'Doc/lib/libtime.tex')
-rw-r--r--Doc/lib/libtime.tex9
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/lib/libtime.tex b/Doc/lib/libtime.tex
index d28e863..81d1352 100644
--- a/Doc/lib/libtime.tex
+++ b/Doc/lib/libtime.tex
@@ -120,8 +120,9 @@ is defined. This is negative if the local DST timezone is east of UTC
Convert a tuple representing a time as returned by \function{gmtime()}
or \function{localtime()} to a 24-character string of the following form:
\code{'Sun Jun 20 23:21:05 1993'}. If \var{tuple} is not provided, the
-current time as returned by \function{localtime()} is used. Note: unlike
-the C function of the same name, there is no trailing newline.
+current time as returned by \function{localtime()} is used.
+\note{Unlike the C function of the same name, there is no trailing
+newline.}
\versionchanged[Allowed \var{tuple} to be omitted]{2.1}
\end{funcdesc}
@@ -276,10 +277,10 @@ provided as part of the input string are filled in with default
values; the specific values are platform-dependent as the XPG standard
does not provide sufficient information to constrain the result.
-\strong{Note:} This function relies entirely on the underlying
+\note{This function relies entirely on the underlying
platform's C library for the date parsing, and some of these libraries
are buggy. There's nothing to be done about this short of a new,
-portable implementation of \cfunction{strptime()}.
+portable implementation of \cfunction{strptime()}.}
Availability: Most modern \UNIX{} systems.
\end{funcdesc}