diff options
author | Andre Barboza <bmg.andre@gmail.com> | 2016-08-09 16:05:03 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-13 07:22:19 +0700 |
commit | 9e9270ea8b6b3d8d129e1f74562e0616ae9d45c6 (patch) | |
tree | cd54f08d81aa2f895a71eab872ce9f2c607c1df5 /python/monotonic/README | |
parent | 76f987ed791c69e95c79e4569b1af3391a86bc1b (diff) | |
download | slackbuilds-9e9270ea8b6b3d8d129e1f74562e0616ae9d45c6.tar.gz |
python/monotonic: Added (implementation of time.monotonic()).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/monotonic/README')
-rw-r--r-- | python/monotonic/README | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/python/monotonic/README b/python/monotonic/README new file mode 100644 index 0000000000..4c50133d3c --- /dev/null +++ b/python/monotonic/README @@ -0,0 +1,10 @@ +This module provides a monotonic() function which returns the value (in +fractional seconds) of a clock which never goes backwards. + +On Python 3.3 or newer, monotonic will be an alias of time.monotonic from the +standard library. On older versions, it will fall back to an equivalent +Linux implementation: clock_gettime. + +If no suitable implementation exists for the current platform, attempting to +import this module (or to import from it) will cause a RuntimeError exception +to be raised. |