gh-123843: Remove broken links to the Zope DateTimeWiki (#123846)

Co-authored-by: Conrad Bhuiyan-Volkoff <hi@cbv.im>
This commit is contained in:
Adam Turner 2024-09-08 22:39:23 -04:00 committed by GitHub
parent aa3f11f80a
commit 93b61bc124
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 15 deletions

View File

@ -1,8 +1,4 @@
"""Concrete date/time and related types. """Pure Python implementation of the datetime module."""
See http://www.iana.org/time-zones/repository/tz-link.html for
time zone and DST data sources.
"""
__all__ = ("date", "datetime", "time", "timedelta", "timezone", "tzinfo", __all__ = ("date", "datetime", "time", "timedelta", "timezone", "tzinfo",
"MINYEAR", "MAXYEAR", "UTC") "MINYEAR", "MAXYEAR", "UTC")

View 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: try:
from _datetime import * from _datetime import *
from _datetime import __doc__ # noqa: F401
except ImportError: except ImportError:
from _pydatetime import * from _pydatetime import *
from _pydatetime import __doc__ # noqa: F401
__all__ = ("date", "datetime", "time", "timedelta", "timezone", "tzinfo", __all__ = ("date", "datetime", "time", "timedelta", "timezone", "tzinfo",
"MINYEAR", "MAXYEAR", "UTC") "MINYEAR", "MAXYEAR", "UTC")

View File

@ -1,7 +1,4 @@
"""Test date/time type. """Test the datetime module."""
See https://www.zope.dev/Members/fdrake/DateTimeWiki/TestCases
"""
import bisect import bisect
import copy import copy
import decimal import decimal

View File

@ -1,6 +1,4 @@
/* C implementation for the date/time type documented at /* C implementation of the datetime module */
* https://www.zope.dev/Members/fdrake/DateTimeWiki/FrontPage
*/
/* bpo-35081: Defining this prevents including the C API capsule; /* bpo-35081: Defining this prevents including the C API capsule;
* internal versions of the Py*_Check macros which do not require * internal versions of the Py*_Check macros which do not require
@ -7418,7 +7416,7 @@ module_free(void *mod)
static PyModuleDef datetimemodule = { static PyModuleDef datetimemodule = {
.m_base = PyModuleDef_HEAD_INIT, .m_base = PyModuleDef_HEAD_INIT,
.m_name = "_datetime", .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_size = sizeof(datetime_state),
.m_methods = module_methods, .m_methods = module_methods,
.m_slots = module_slots, .m_slots = module_slots,