Skip to content

Commit

Permalink
Remove unused "time_func"
Browse files Browse the repository at this point in the history
This compat name is not used and is also referring to a
deprecated API for the win32 case.

Fixes: #4731
Change-Id: I0f2b07347c15455b58c27e29a19fb55e159f332a
  • Loading branch information
zzzeek committed Jun 17, 2019
1 parent f94648b commit 0fff647
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/sqlalchemy/util/compat.py
Expand Up @@ -12,7 +12,6 @@
import inspect
import operator
import sys
import time


py36 = sys.version_info >= (3, 6)
Expand Down Expand Up @@ -349,11 +348,6 @@ def inspect_formatargspec(*spec, **kw):
from inspect import formatargspec as inspect_formatargspec # noqa


if win32 or jython:
time_func = time.clock
else:
time_func = time.time

# Fix deprecation of accessing ABCs straight from collections module
# (which will stop working in 3.8).
if py33:
Expand Down

0 comments on commit 0fff647

Please sign in to comment.