Skip to content

Commit 93b61bc

Browse files
AA-Turnerotkd
andauthored
gh-123843: Remove broken links to the Zope DateTimeWiki (#123846)
Co-authored-by: Conrad Bhuiyan-Volkoff <[email protected]>
1 parent aa3f11f commit 93b61bc

File tree

4 files changed

+10
-15
lines changed

4 files changed

+10
-15
lines changed

Lib/_pydatetime.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
"""Concrete date/time and related types.
2-
3-
See http://www.iana.org/time-zones/repository/tz-link.html for
4-
time zone and DST data sources.
5-
"""
1+
"""Pure Python implementation of the datetime module."""
62

73
__all__ = ("date", "datetime", "time", "timedelta", "timezone", "tzinfo",
84
"MINYEAR", "MAXYEAR", "UTC")

Lib/datetime.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1+
"""Specific date/time and related types.
2+
3+
See https://data.iana.org/time-zones/tz-link.html for
4+
time zone and DST data sources.
5+
"""
6+
17
try:
28
from _datetime import *
3-
from _datetime import __doc__ # noqa: F401
49
except ImportError:
510
from _pydatetime import *
6-
from _pydatetime import __doc__ # noqa: F401
711

812
__all__ = ("date", "datetime", "time", "timedelta", "timezone", "tzinfo",
913
"MINYEAR", "MAXYEAR", "UTC")

Lib/test/datetimetester.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
"""Test date/time type.
2-
3-
See https://www.zope.dev/Members/fdrake/DateTimeWiki/TestCases
4-
"""
1+
"""Test the datetime module."""
52
import bisect
63
import copy
74
import decimal

Modules/_datetimemodule.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* C implementation for the date/time type documented at
2-
* https://www.zope.dev/Members/fdrake/DateTimeWiki/FrontPage
3-
*/
1+
/* C implementation of the datetime module */
42

53
/* bpo-35081: Defining this prevents including the C API capsule;
64
* internal versions of the Py*_Check macros which do not require
@@ -7418,7 +7416,7 @@ module_free(void *mod)
74187416
static PyModuleDef datetimemodule = {
74197417
.m_base = PyModuleDef_HEAD_INIT,
74207418
.m_name = "_datetime",
7421-
.m_doc = "Fast implementation of the datetime type.",
7419+
.m_doc = "Fast implementation of the datetime module.",
74227420
.m_size = sizeof(datetime_state),
74237421
.m_methods = module_methods,
74247422
.m_slots = module_slots,

0 commit comments

Comments
 (0)