summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2005-01-05 07:13:32 (GMT)
committerSkip Montanaro <skip@pobox.com>2005-01-05 07:13:32 (GMT)
commitb80bad4366451ce020b415234fec464c4b9b5eea (patch)
tree9cce3113c9567ebfaaa722ffd1778fb07fde1909 /Doc/lib
parent4f49e7d0e7bf3e9bd908bd987e91d168adeadcb0 (diff)
downloadcpython-b80bad4366451ce020b415234fec464c4b9b5eea.zip
cpython-b80bad4366451ce020b415234fec464c4b9b5eea.tar.gz
cpython-b80bad4366451ce020b415234fec464c4b9b5eea.tar.bz2
add descriptions of exported data attributes
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libcalendar.tex25
1 files changed, 25 insertions, 0 deletions
diff --git a/Doc/lib/libcalendar.tex b/Doc/lib/libcalendar.tex
index 8a00280..bf3a7d6 100644
--- a/Doc/lib/libcalendar.tex
+++ b/Doc/lib/libcalendar.tex
@@ -112,6 +112,31 @@ an epoch of 1970, and the POSIX encoding. In fact,
\versionadded{2.0}
\end{funcdesc}
+The \module{calendar} module exports the following data attributes:
+
+\begin{datadesc}{day_name}
+An array that represents the days of the week in the
+current locale.
+\end{datadesc}
+
+\begin{datadesc}{day_abbr}
+An array that represents the abbreviated days of the week
+in the current locale.
+\end{datadesc}
+
+\begin{datadesc}{month_name}
+An array that represents the months of the year in the
+current locale. This follows normal convention
+of January being month number 1, so it has a length of 13 and
+\code{month_name[0]} is the empty string.
+\end{datadesc}
+
+\begin{datadesc}{month_abbr}
+An array that represents the abbreviated months of the year
+in the current locale. This follows normal convention
+of January being month number 1, so it has a length of 13 and
+\code{month_abbr[0]} is the empty string.
+\end{datadesc}
\begin{seealso}
\seemodule{datetime}{Object-oriented interface to dates and times