From 55a9e2d6971b57cac0978f76b6116577f55ea914 Mon Sep 17 00:00:00 2001 From: Carlos Date: Sun, 18 Nov 2018 10:41:35 -0600 Subject: [PATCH 1/2] Fix time.monotonic_ns docstring --- shared-bindings/time/__init__.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared-bindings/time/__init__.c b/shared-bindings/time/__init__.c index 8a5e16c5e4..5cd3a94cd1 100644 --- a/shared-bindings/time/__init__.c +++ b/shared-bindings/time/__init__.c @@ -206,7 +206,7 @@ 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. From 060b84a0fae485e8b0cbd32e8fc4ada2211e78f2 Mon Sep 17 00:00:00 2001 From: Carlos Date: Sun, 18 Nov 2018 10:43:28 -0600 Subject: [PATCH 2/2] Remove reference to clock_id on the function descriptiions --- shared-bindings/time/__init__.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shared-bindings/time/__init__.c b/shared-bindings/time/__init__.c index 5cd3a94cd1..f97ad4a5de 100644 --- a/shared-bindings/time/__init__.c +++ b/shared-bindings/time/__init__.c @@ -208,8 +208,7 @@ MP_DEFINE_CONST_FUN_OBJ_0(time_time_obj, time_time); //| .. 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