Skip to content

Commit

Permalink
Merge pull request #1337 from swt2c/time_clock_removed
Browse files Browse the repository at this point in the history
Replace time.clock (removed in Python 3.8) with time.process_time

(cherry picked from commit 59e70e7)
  • Loading branch information
RobinD42 committed Sep 6, 2019
1 parent 7f8a697 commit 46ca3db
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wx/lib/floatcanvas/FloatCanvas.py
Expand Up @@ -48,7 +48,10 @@
mac = sys.platform.startswith("darwin")

import numpy as N
from time import clock
try:
from time import process_time as clock
except ImportError:
from time import clock
import wx
import six

Expand Down

0 comments on commit 46ca3db

Please sign in to comment.