File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2222//|
2323//|
2424//| def monotonic() -> float:
25- //| """Returns an always increasing value of time with an unknown reference
25+ //| """Returns an always increasing value of time, in fractional seconds, with an unknown reference
2626//| point. Only use it to compare against other values from `time.monotonic()`
2727//| during the same code run.
2828//|
2929//| On most boards, `time.monotonic()` converts a 64-bit millisecond tick counter
30- //| to a float. Floats on most boards are encoded in 30 bits internally, with
30+ //| to seconds, as a float. Floats on most boards are encoded in 30 bits internally, with
3131//| effectively 22 bits of precision. The float returned by `time.monotonic()` will
3232//| accurately represent time to millisecond precision only up to 2**22 milliseconds
3333//| (about 1.165 hours).
You can’t perform that action at this time.
0 commit comments