summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2018-11-18 21:53:23 -0800
committerGitHub <noreply@github.com>2018-11-18 21:53:23 -0800
commitb823cbd0895110abba495b2062e18331f6427410 (patch)
tree2c87ca98c575b474b26833704b4d6d4426b3e51a
parent0ea31ec15dc212b5238f2ca6009ac206abe9e034 (diff)
parent060b84a0fae485e8b0cbd32e8fc4ada2211e78f2 (diff)
Merge pull request #1345 from C47D/fix_monotonic_ns
Fix time.monotonic_ns docstring
-rw-r--r--shared-bindings/time/__init__.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/shared-bindings/time/__init__.c b/shared-bindings/time/__init__.c
index 8a5e16c5e..f97ad4a5d 100644
--- a/shared-bindings/time/__init__.c
+++ b/shared-bindings/time/__init__.c
@@ -206,10 +206,9 @@ STATIC mp_obj_t time_time(void) {
}
MP_DEFINE_CONST_FUN_OBJ_0(time_time_obj, time_time);
-//| .. method:: monotonic_ns(clk_id)
+//| .. method:: monotonic_ns()
//|
-//| Return the time of the specified clock clk_id in nanoseconds. Refer to
-//| Clock ID Constants for a list of accepted values for clk_id.
+//| Return the time of the specified clock clk_id in nanoseconds.
//|
//| :return: the current time
//| :rtype: int