Skip to content

Commit e39c97d

Browse files
Suggestion
1 parent 9b70a5a commit e39c97d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/library/datetime.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1486,11 +1486,11 @@ Instance methods:
14861486
returned by :func:`time.time`.
14871487

14881488
Naive :class:`.datetime` instances are assumed to represent local
1489-
time and this method relies on the platform C :c:func:`locatime_s`
1490-
function to perform the conversion. Since :class:`.datetime`
1491-
supports wider range of values than :c:func:`locatime_s` on many
1492-
platforms, this method may raise :exc:`OverflowError` or :exc:`OSError`
1493-
for times far in the past or far in the future.
1489+
time and this method relies on platform C functions to perform
1490+
the conversion. Since :class:`.datetime` supports a wider range of
1491+
values than the platform C functions on many platforms, this
1492+
method may raise :exc:`OverflowError` or :exc:`OSError` for times
1493+
far in the past or far in the future.
14941494

14951495
For aware :class:`.datetime` instances, the return value is computed
14961496
as::

0 commit comments

Comments
 (0)