Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b80bad43
Commit
b80bad43
authored
Jan 05, 2005
by
Skip Montanaro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add descriptions of exported data attributes
parent
4f49e7d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
Doc/lib/libcalendar.tex
Doc/lib/libcalendar.tex
+25
-0
No files found.
Doc/lib/libcalendar.tex
View file @
b80bad43
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment