PEP 418: Add also timeout_clock() alternative name
This commit is contained in:
parent
acaec37446
commit
9c1794adeb
|
@ -737,11 +737,12 @@ Alternatives: API design
|
||||||
Other names for time.monotonic()
|
Other names for time.monotonic()
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
|
* time.counter()
|
||||||
|
* time.seconds()
|
||||||
* time.steady()
|
* time.steady()
|
||||||
|
* time.timeout_clock()
|
||||||
* time.wallclock(): it is not the system time aka the "wall clock", but
|
* time.wallclock(): it is not the system time aka the "wall clock", but
|
||||||
a monotonic clock with an unspecified starting point
|
a monotonic clock with an unspecified starting point
|
||||||
* time.seconds()
|
|
||||||
* time.counter()
|
|
||||||
|
|
||||||
The name "time.try_monotonic()" was also proposed when time.monotonic() was
|
The name "time.try_monotonic()" was also proposed when time.monotonic() was
|
||||||
falling back to the system clock when no monotonic clock was available.
|
falling back to the system clock when no monotonic clock was available.
|
||||||
|
|
Loading…
Reference in New Issue