Merge pull request #1345 from C47D/fix_monotonic_ns

Fix time.monotonic_ns docstring
This commit is contained in:
Scott Shawcroft 2018-11-18 21:53:23 -08:00 committed by GitHub
commit b823cbd089
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -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