PEP 418: Fix typo (Specifiction)
This commit is contained in:
parent
ab8cded54c
commit
0e03a9a393
10
pep-0418.txt
10
pep-0418.txt
|
@ -235,9 +235,11 @@ Steady
|
|||
|
||||
A steady clock is a clock with a stable rate.
|
||||
|
||||
The C++ Timeout Specifiction uses the following definition: "Objects of class
|
||||
steady_clock represent clocks for which values of time_point advance at a
|
||||
steady rate relative to real time. That is, the clock may not be adjusted."
|
||||
The `C++ Timeout Specification
|
||||
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3128.html>`_ uses the
|
||||
following definition: "Objects of class steady_clock represent clocks for which
|
||||
values of time_point advance at a steady rate relative to real time. That is,
|
||||
the clock may not be adjusted."
|
||||
|
||||
|
||||
Hardware clocks
|
||||
|
@ -835,7 +837,7 @@ with a high resolution (e.g. at least a microsecond or better).
|
|||
One function choosing the clock from a list of constrains
|
||||
---------------------------------------------------------
|
||||
|
||||
time.get_clock(*flags) with the following flags:
|
||||
``time.get_clock(*flags)`` with the following flags:
|
||||
|
||||
* time.MONOTONIC: clock cannot go backard
|
||||
* time.STEADY: clock rate is steady and the clock is not adjusted
|
||||
|
|
Loading…
Reference in New Issue