summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-10-18 01:53:15 (GMT)
committerBrett Cannon <bcannon@gmail.com>2004-10-18 01:53:15 (GMT)
commit6b1597c7c735fa745073f99eedfe80d113a56865 (patch)
treed6f8a759c11fd340ab194231c01cb2d109f176e4 /Doc
parent8dc25ad6f2e2280249341c2f4e015455269d10c9 (diff)
downloadcpython-6b1597c7c735fa745073f99eedfe80d113a56865.zip
cpython-6b1597c7c735fa745073f99eedfe80d113a56865.tar.gz
cpython-6b1597c7c735fa745073f99eedfe80d113a56865.tar.bz2
Clarify note about using %U and %W with strptime().
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libtime.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libtime.tex b/Doc/lib/libtime.tex
index 3b4ec7e..7a13879 100644
--- a/Doc/lib/libtime.tex
+++ b/Doc/lib/libtime.tex
@@ -272,8 +272,9 @@ Notes:
The range really is \code{0} to \code{61}; this accounts for leap
seconds and the (very rare) double leap seconds.
\item[(3)]
- \code{\%U} and \code{\%W} are only used in calculations when the day of the
- week and the year are specified.
+ When used with the \function{strptime()} function, \code{\%U} and \code{\%W}
+ are only used in calculations when the day of the week and the year are
+ specified.
\end{description}
Here is an example, a format for dates compatible with that specified