PEP 418: time.get_clock_info(), rename "monotonic" option to "is_monotonic"
This commit is contained in:
parent
88e5572ca6
commit
403a3a9778
|
@ -214,7 +214,7 @@ The following keys are always present:
|
||||||
* "function" (str): name of the underlying operating system function (ex:
|
* "function" (str): name of the underlying operating system function (ex:
|
||||||
"QueryPerformanceCounter()" or "clock_gettime(CLOCK_REALTIME)")
|
"QueryPerformanceCounter()" or "clock_gettime(CLOCK_REALTIME)")
|
||||||
* "resolution" (float): resolution in seconds of the function
|
* "resolution" (float): resolution in seconds of the function
|
||||||
* "monotonic" (bool): True if the clock is monotonic
|
* "is_monotonic" (bool): True if the clock is monotonic
|
||||||
|
|
||||||
|
|
||||||
Hardware clocks
|
Hardware clocks
|
||||||
|
|
Loading…
Reference in New Issue