Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6)

Side by Side Diff: Doc/library/calendar.rst

Issue 18758: Fix internal references in the documentation
Patch Set: Created 6 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Doc/library/audioop.rst ('k') | Doc/library/chunk.rst » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 :mod:`calendar` --- General calendar-related functions 1 :mod:`calendar` --- General calendar-related functions
2 ====================================================== 2 ======================================================
3 3
4 .. module:: calendar 4 .. module:: calendar
5 :synopsis: Functions for working with calendars, including some emulation 5 :synopsis: Functions for working with calendars, including some emulation
6 of the Unix cal program. 6 of the Unix cal program.
7 .. sectionauthor:: Drew Csillag <drew_csillag@geocities.com> 7 .. sectionauthor:: Drew Csillag <drew_csillag@geocities.com>
8 8
9 **Source code:** :source:`Lib/calendar.py` 9 **Source code:** :source:`Lib/calendar.py`
10 10
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 266
267 .. function:: calendar(year, w=2, l=1, c=6, m=3) 267 .. function:: calendar(year, w=2, l=1, c=6, m=3)
268 268
269 Returns a 3-column calendar for an entire year as a multi-line string using 269 Returns a 3-column calendar for an entire year as a multi-line string using
270 the :meth:`formatyear` of the :class:`TextCalendar` class. 270 the :meth:`formatyear` of the :class:`TextCalendar` class.
271 271
272 272
273 .. function:: timegm(tuple) 273 .. function:: timegm(tuple)
274 274
275 An unrelated but handy function that takes a time tuple such as returned by t he 275 An unrelated but handy function that takes a time tuple such as returned by t he
276 :func:`gmtime` function in the :mod:`time` module, and returns the correspond ing 276 :func:`~time.gmtime` function in the :mod:`time` module, and returns the corr esponding
277 Unix timestamp value, assuming an epoch of 1970, and the POSIX encoding. In 277 Unix timestamp value, assuming an epoch of 1970, and the POSIX encoding. In
278 fact, :func:`time.gmtime` and :func:`timegm` are each others' inverse. 278 fact, :func:`time.gmtime` and :func:`timegm` are each others' inverse.
279 279
280 280
281 The :mod:`calendar` module exports the following data attributes: 281 The :mod:`calendar` module exports the following data attributes:
282 282
283 .. data:: day_name 283 .. data:: day_name
284 284
285 An array that represents the days of the week in the current locale. 285 An array that represents the days of the week in the current locale.
286 286
(...skipping 18 matching lines...) Expand all
305 305
306 306
307 .. seealso:: 307 .. seealso::
308 308
309 Module :mod:`datetime` 309 Module :mod:`datetime`
310 Object-oriented interface to dates and times with similar functionality to the 310 Object-oriented interface to dates and times with similar functionality to the
311 :mod:`time` module. 311 :mod:`time` module.
312 312
313 Module :mod:`time` 313 Module :mod:`time`
314 Low-level time related functions. 314 Low-level time related functions.
OLDNEW
« no previous file with comments | « Doc/library/audioop.rst ('k') | Doc/library/chunk.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+