view roundup/anypy/time_.py @ 8319:5e6ff4e9cacb

build: issue2551397: remove support for python 3.6 One last file with a 3.6 reference.
author John Rouillard <rouilj@ieee.org>
date Sun, 11 May 2025 20:31:16 -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/