diff options
Diffstat (limited to 'Doc/library/calendar.rst')
-rw-r--r-- | Doc/library/calendar.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst index c8dac49e3c..f4952711cb 100644 --- a/Doc/library/calendar.rst +++ b/Doc/library/calendar.rst @@ -6,6 +6,9 @@ of the Unix cal program. .. sectionauthor:: Drew Csillag <drew_csillag@geocities.com> +**Source code:** :source:`Lib/calendar.py` + +-------------- This module allows you to output calendars like the Unix :program:`cal` program, and provides additional useful functions related to the calendar. By default, @@ -16,7 +19,7 @@ are given as integers. For related functionality, see also the :mod:`datetime` and :mod:`time` modules. Most of these functions and classes rely on the :mod:`datetime` module which -uses an idealized calendar, the current Gregorian calendar indefinitely extended +uses an idealized calendar, the current Gregorian calendar extended in both directions. This matches the definition of the "proleptic Gregorian" calendar in Dershowitz and Reingold's book "Calendrical Calculations", where it's the base calendar for all computations. @@ -309,4 +312,3 @@ The :mod:`calendar` module exports the following data attributes: Module :mod:`time` Low-level time related functions. - |