mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
bpo-31803: time.clock() and time.get_clock_info('clock') now emit a
DeprecationWarning warning.
Replace time.clock() with time.perf_counter() in tests and demos.
Remove also hasattr(time, 'monotonic') in test_time since time.monotonic()
is now always available since Python 3.5.
|
||
|---|---|---|
| .. | ||
| macholib | ||
| test | ||
| __init__.py | ||
| _endian.py | ||
| util.py | ||
| wintypes.py | ||