diff options
Diffstat (limited to 'docs/library/time.rst')
| -rw-r--r-- | docs/library/time.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/library/time.rst b/docs/library/time.rst index ef2a572aa..6ca172f22 100644 --- a/docs/library/time.rst +++ b/docs/library/time.rst @@ -1,12 +1,12 @@ -:mod:`utime` -- time related functions -====================================== +:mod:`time` -- time related functions +===================================== -.. module:: utime +.. module:: time :synopsis: time related functions |see_cpython_module| :mod:`python:time`. -The ``utime`` module provides functions for getting the current time and date, +The ``time`` module provides functions for getting the current time and date, measuring time intervals, and for delays. **Time Epoch**: Unix port uses standard for POSIX systems epoch of @@ -119,7 +119,7 @@ Functions in the system. This is usually CPU clocks, and that's why the function is named that way. But it doesn't have to be a CPU clock, some other timing source available in a system (e.g. high-resolution timer) can be used instead. The exact timing unit - (resolution) of this function is not specified on ``utime`` module level, but + (resolution) of this function is not specified on ``time`` module level, but documentation for a specific port may provide more specific information. This function is intended for very fine benchmarking or very tight real-time loops. Avoid using it in portable code. |
