Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions mako/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import json # noqa
import sys
import time
import timeit

py3k = sys.version_info >= (3, 0)
py33 = sys.version_info >= (3, 3)
Expand Down Expand Up @@ -141,10 +141,7 @@ def exception_as():
else:
import dummy_thread as thread # noqa

if win32 or jython:
time_func = time.clock
else:
time_func = time.time
time_func = timeit.default_timer
Comment thread
lazka marked this conversation as resolved.

try:
from functools import partial
Expand Down