]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-123843: Remove broken links to the Zope DateTimeWiki (#123846)
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>
Mon, 9 Sep 2024 02:39:23 +0000 (22:39 -0400)
committerGitHub <noreply@github.com>
Mon, 9 Sep 2024 02:39:23 +0000 (22:39 -0400)
Co-authored-by: Conrad Bhuiyan-Volkoff <hi@cbv.im>
Lib/_pydatetime.py
Lib/datetime.py
Lib/test/datetimetester.py
Modules/_datetimemodule.c

index 78432d46506be8646b0dcc93f524153a4ae41904..f8e121eb79a04d33dddb4ab90abc8ee0bd2b590c 100644 (file)
@@ -1,8 +1,4 @@
-"""Concrete date/time and related types.
-
-See http://www.iana.org/time-zones/repository/tz-link.html for
-time zone and DST data sources.
-"""
+"""Pure Python implementation of the datetime module."""
 
 __all__ = ("date", "datetime", "time", "timedelta", "timezone", "tzinfo",
            "MINYEAR", "MAXYEAR", "UTC")
index b4f7bd045c7b684d04f6ad6cfbce88da2bad11ac..14f30556584e32b98bec77922f9fa69af39a87e4 100644 (file)
@@ -1,9 +1,13 @@
+"""Specific date/time and related types.
+
+See https://data.iana.org/time-zones/tz-link.html for
+time zone and DST data sources.
+"""
+
 try:
     from _datetime import *
-    from _datetime import __doc__  # noqa: F401
 except ImportError:
     from _pydatetime import *
-    from _pydatetime import __doc__  # noqa: F401
 
 __all__ = ("date", "datetime", "time", "timedelta", "timezone", "tzinfo",
            "MINYEAR", "MAXYEAR", "UTC")
index 02656434f4ac07836229846790b0426485328d33..aef24e11393f6a354da9f1ea25f73b5de4562caf 100644 (file)
@@ -1,7 +1,4 @@
-"""Test date/time type.
-
-See https://www.zope.dev/Members/fdrake/DateTimeWiki/TestCases
-"""
+"""Test the datetime module."""
 import bisect
 import copy
 import decimal
index f6e6ba4e8eb2976654b269b32026701e832fae54..8562e0ca0bbbabfc5ead8fd1bf298b86e0a2f178 100644 (file)
@@ -1,6 +1,4 @@
-/*  C implementation for the date/time type documented at
- *  https://www.zope.dev/Members/fdrake/DateTimeWiki/FrontPage
- */
+/*  C implementation of the datetime module */
 
 /* bpo-35081: Defining this prevents including the C API capsule;
  * internal versions of the  Py*_Check macros which do not require
@@ -7418,7 +7416,7 @@ module_free(void *mod)
 static PyModuleDef datetimemodule = {
     .m_base = PyModuleDef_HEAD_INIT,
     .m_name = "_datetime",
-    .m_doc = "Fast implementation of the datetime type.",
+    .m_doc = "Fast implementation of the datetime module.",
     .m_size = sizeof(datetime_state),
     .m_methods = module_methods,
     .m_slots = module_slots,