Skip to content

Commit b823cbd

Browse files
authored
Merge pull request #1345 from C47D/fix_monotonic_ns
Fix time.monotonic_ns docstring
2 parents 0ea31ec + 060b84a commit b823cbd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

shared-bindings/time/__init__.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,9 @@ STATIC mp_obj_t time_time(void) {
206206
}
207207
MP_DEFINE_CONST_FUN_OBJ_0(time_time_obj, time_time);
208208

209-
//| .. method:: monotonic_ns(clk_id)
209+
//| .. method:: monotonic_ns()
210210
//|
211-
//| Return the time of the specified clock clk_id in nanoseconds. Refer to
212-
//| Clock ID Constants for a list of accepted values for clk_id.
211+
//| Return the time of the specified clock clk_id in nanoseconds.
213212
//|
214213
//| :return: the current time
215214
//| :rtype: int

0 commit comments

Comments
 (0)