diff --git a/pep-0418.txt b/pep-0418.txt index bf743a37f..b4c0393ae 100644 --- a/pep-0418.txt +++ b/pep-0418.txt @@ -114,15 +114,15 @@ Get information on the specified clock. Supported clock names: * ``"process_time"``: ``time.process_time()`` * ``"time"``: ``time.time()`` -Return a dictionary with the following keys: +Return a ``time.clock_info`` object which has the following attributes: - * ``"implementation"`` (str): name of the underlying operating system + * ``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 + * ``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). + * ``resolution`` (float): resolution in seconds of the clock. time.monotonic()