diff options
| author | RSKYS <Pouria.rz@outlook.com> | 2021-11-20 00:43:36 +0330 |
|---|---|---|
| committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-11-20 07:13:02 +0700 |
| commit | 93b3b1107a766eb89bd232786b7e344a8b89158f (patch) | |
| tree | 8c98cd38d37cb57207f870a9bc4e1949c13d59ce /python/python3-monotonic/README | |
| parent | 1c272724de8010106e7870232e9a0fb25bd2ce1e (diff) | |
python3-monotonic: Added (monotonic, required in python3)
Signed-off-by: RSKYS <Pouria.rz@outlook.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-monotonic/README')
| -rw-r--r-- | python/python3-monotonic/README | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/python/python3-monotonic/README b/python/python3-monotonic/README new file mode 100644 index 0000000000..4c50133d3c --- /dev/null +++ b/python/python3-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. |
