[Python-checkins] python/dist/src/Doc/lib libcalendar.tex, 1.19, 1.20

montanaro at users.sourceforge.net montanaro at users.sourceforge.net
Wed Jan 5 08:13:34 CET 2005


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2785

Modified Files:
	libcalendar.tex 
Log Message:
add descriptions of exported data attributes


Index: libcalendar.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcalendar.tex,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- libcalendar.tex	6 Dec 2004 07:58:14 -0000	1.19
+++ libcalendar.tex	5 Jan 2005 07:13:32 -0000	1.20
@@ -112,6 +112,31 @@
 \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



More information about the Python-checkins mailing list