Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1337 from swt2c/time_clock_removed
Replace time.clock (removed in Python 3.8) with time.process_time
  • Loading branch information
RobinD42 committed Sep 6, 2019
2 parents ef81730 + c3543f9 commit 59e70e7
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 59e70e7

Please sign in to comment.