Debian Codegraph @

mypyc/doc/librt_time.rst

raw
1 .. _librt-time:
2
3 librt.time
4 ==========
5
6 The ``librt.time`` module is part of the ``librt`` package on PyPI, and it includes
7 time-related utilities.
8
9 Functions
10 ---------
11
12 .. function:: time() -> float
13
14 Return the time in seconds since the
15 `epoch <https://docs.python.org/3/library/time.html#epoch>`_ as a floating-point number.
16 This is a replacement for the standard library
17 `time.time() <https://docs.python.org/3/library/time.html#time.time>`_
18 function that is faster in compiled code. Unlike the standard library function,
19 uses of this function can't be monkey patched in compiled code -- calls use *early binding*.