File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 4242//|
4343//| def monotonic() -> float:
4444//| """Returns an always increasing value of time with an unknown reference
45- //| point. Only use it to compare against other values from `time.monotonic()`.
45+ //| point. Only use it to compare against other values from `time.monotonic()`
46+ //| during the same code run.
4647//|
4748//| On most boards, `time.monotonic()` converts a 64-bit millisecond tick counter
4849//| to a float. Floats on most boards are encoded in 30 bits internally, with
@@ -212,6 +213,8 @@ MP_DEFINE_CONST_FUN_OBJ_0(time_time_obj, time_time);
212213//| def monotonic_ns() -> int:
213214//| """Return the time of the monotonic clock, which cannot go backward, in nanoseconds.
214215//| Not available on boards without long integer support.
216+ //| Only use it to compare against other values from `time.monotonic()`
217+ //| during a single code run.
215218//|
216219//| :return: the current time
217220//| :rtype: int"""
You can’t perform that action at this time.
0 commit comments