[Python-checkins] peps: PEP 418: time.get_clock_info() has no more optional keys, all keys are mandatory

victor.stinner python-checkins at python.org
Sun Apr 29 01:43:18 CEST 2012


http://hg.python.org/peps/rev/7da3a166c084
changeset:   4321:7da3a166c084
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Sun Apr 29 01:42:18 2012 +0200
summary:
  PEP 418: time.get_clock_info() has no more optional keys, all keys are mandatory

files:
  pep-0418.txt |  19 +++++++------------
  1 files changed, 7 insertions(+), 12 deletions(-)


diff --git a/pep-0418.txt b/pep-0418.txt
--- a/pep-0418.txt
+++ b/pep-0418.txt
@@ -116,18 +116,13 @@
 
 Return a dictionary with the following keys:
 
-* Mandatory keys:
-
-  * ``"implementation"`` (str): name of the underlying operating system
-    function.  Examples: ``"QueryPerformanceCounter()"``,
-    ``"clock_gettime(CLOCK_REALTIME)"``.
-  * ``"resolution"`` (float): resolution in seconds of the clock.
-  * ``"is_monotonic"`` (bool): True if the clock cannot go backward.
-
-* Optional keys:
-
-  * ``"is_adjusted"`` (bool): True if the clock is adjusted (e.g. by a
-    NTP daemon).
+ * ``"implementation"`` (str): name of the underlying operating system
+   function.  Examples: ``"QueryPerformanceCounter()"``,
+   ``"clock_gettime(CLOCK_REALTIME)"``.
+ * ``"resolution"`` (float): resolution in seconds of the clock.
+ * ``"is_monotonic"`` (bool): True if the clock cannot go backward.
+ * ``"is_adjusted"`` (bool): True if the clock is adjusted (e.g. by a
+   NTP daemon).
 
 
 time.monotonic()

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list