Skip to content
Permalink
Browse files

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 59e70e7c764fb84dc76d4d7efea011d70b04f733
Showing with 4 additions and 1 deletion.
  1. +4 −1 wx/lib/floatcanvas/FloatCanvas.py
@@ -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

0 comments on commit 59e70e7

Please sign in to comment.
You can’t perform that action at this time.