Mercurial > p > roundup > code
view roundup/anypy/time_.py @ 8020:60c98a8a23bd
fix: make If-None-Match work for static file (@@file) case
Found by Redbot testing.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 02 Jun 2024 20:35:47 -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
