view roundup/anypy/time_.py @ 8017:2a1bfa4db6be

docs: update to 2.4.0 release from 2.4.0b2.
author John Rouillard <rouilj@ieee.org>
date Thu, 30 May 2024 20:03:14 -0400
parents 60a6d50298c4
children
line wrap: on
line source

try:
    # Python 3+
    from time import perf_counter
except (ImportError, AttributeError):
    # Python 2.5-2.7
    from time import clock as perf_counter  # noqa: F401

Roundup Issue Tracker: http://roundup-tracker.org/