Skip to content

Commit 7c6cc00

Browse files
authored
gh-88035: update doc-string of epoch in timemodule.c (GH-118076)
Follow #88035, update doc-string of epoch in timemodule.c The epoch is `January 1st, 1970 on all platforms`, according to current documentation.
1 parent 8a01fd7 commit 7c6cc00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Modules/timemodule.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1896,8 +1896,8 @@ PyDoc_STRVAR(module_doc,
18961896
There are two standard representations of time. One is the number\n\
18971897
of seconds since the Epoch, in UTC (a.k.a. GMT). It may be an integer\n\
18981898
or a floating point number (to represent fractions of seconds).\n\
1899-
The Epoch is system-defined; on Unix, it is generally January 1st, 1970.\n\
1900-
The actual value can be retrieved by calling gmtime(0).\n\
1899+
The epoch is the point where the time starts, the return value of time.gmtime(0).\n\
1900+
It is January 1, 1970, 00:00:00 (UTC) on all platforms.\n\
19011901
\n\
19021902
The other representation is a tuple of 9 integers giving local time.\n\
19031903
The tuple items are:\n\

0 commit comments

Comments
 (0)