view roundup/anypy/time_.py @ 7531:913a73b9fab5 2.3.0

Update for 2.3.0 release
author John Rouillard <rouilj@ieee.org>
date Wed, 12 Jul 2023 23:00:25 -0400
parents 07ce4e4110f5
children 60a6d50298c4
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/