mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +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.
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| bytedesign.py | ||
| chaos.py | ||
| clock.py | ||
| colormixer.py | ||
| forest.py | ||
| fractalcurves.py | ||
| lindenmayer.py | ||
| minimal_hanoi.py | ||
| nim.py | ||
| paint.py | ||
| peace.py | ||
| penrose.py | ||
| planet_and_moon.py | ||
| round_dance.py | ||
| sorting_animate.py | ||
| tree.py | ||
| turtle.cfg | ||
| two_canvases.py | ||
| wikipedia.py | ||
| yinyang.py | ||