http://hg.python.org/peps/rev/d1b6aa9e5873 changeset: 4265:d1b6aa9e5873 user: Victor Stinner <victor.stinner at gmail.com> date: Wed Apr 18 01:55:21 2012 +0200 summary: PEP 418: Fix pseudo-code of time.monotonic() on Mac OS X files: pep-0418.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pep-0418.txt b/pep-0418.txt --- a/pep-0418.txt +++ b/pep-0418.txt @@ -152,7 +152,7 @@ def monotonic(): if monotonic.factor is None: factor = _time.mach_timebase_info() - monotonic.factor = timebase[0] / timebase[1] + monotonic.factor = timebase[0] / timebase[1] * 1e-9 return _time.mach_absolute_time() * monotonic.factor monotonic.factor = None -- Repository URL: http://hg.python.org/peps
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4