• Victor Stinner's avatar
    time.clock() now emits a DeprecationWarning (GH-4020) · 884d13a5
    Victor Stinner yazdı
    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.
    884d13a5
wikipedia.py 1.33 KB