Skip to content

Commit

Permalink
Avoid reference to epoch_
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Jan 18, 2024
1 parent d8cf97d commit c6f5be9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/c-api/time.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ Functions

.. c:function:: PyTime_t PyTime_Time(void)
Return the time in nanoseconds since the epoch_. Similar to
:func:`time.time_ns`; see :func:`time.time` for details.
Return the time in nanoseconds since January 1, 1970, 00:00:00 (UTC).
Similar to :func:`time.time_ns`; see :func:`time.time` for details.
If reading the clock fails, silently ignore the error and return ``0``.

Expand Down

0 comments on commit c6f5be9

Please sign in to comment.