PEP 418: Add also timeout_clock() alternative name

This commit is contained in:
Victor Stinner 2012-04-04 03:47:55 +02:00
parent acaec37446
commit 9c1794adeb
1 changed files with 3 additions and 2 deletions

View File

@ -737,11 +737,12 @@ Alternatives: API design
Other names for time.monotonic()
--------------------------------
* time.counter()
* time.seconds()
* time.steady()
* time.timeout_clock()
* time.wallclock(): it is not the system time aka the "wall clock", but
a monotonic clock with an unspecified starting point
* time.seconds()
* time.counter()
The name "time.try_monotonic()" was also proposed when time.monotonic() was
falling back to the system clock when no monotonic clock was available.