Skip to content

Commit 75b3c39

Browse files
authored
Fix comment formatting in monotonic function
1 parent 1e9c673 commit 75b3c39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-bindings/time/__init__.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
//|
2323
//|
2424
//| def monotonic() -> float:
25-
//| """Returns an always increasing value of time (in fractional **seconds**) 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).

0 commit comments

Comments
 (0)