Skip to content

Commit 70004a7

Browse files
committed
Tweak wording
1 parent b847053 commit 70004a7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Doc/library/time.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -257,12 +257,11 @@ Functions
257257
:const:`None`, the current time as returned by :func:`.time` is used. The dst
258258
flag is set to ``1`` when DST applies to the given time.
259259

260-
:func:`localtime` may raise :exc:`OverflowError`, if the timestamp is out of
261-
the range of values supported by the platform C :c:func:`localtime` or
262-
:c:func:`gmtime` functions, and :exc:`OSError` on :c:func:`localtime` or
263-
:c:func:`gmtime` failure.
264-
It's common for this to be restricted to years in
265-
1970 through 2038.
260+
:func:`localtime` may raise :exc:`OverflowError`, if the timestamp is
261+
outside the range of values supported by the platform C :c:func:`localtime`
262+
or :c:func:`gmtime` functions, and :exc:`OSError` on :c:func:`localtime` or
263+
:c:func:`gmtime` failure. It's common for this to be restricted to years
264+
between 1970 and 2038.
266265

267266

268267
.. function:: mktime(t)

0 commit comments

Comments
 (0)