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

(cherry picked from commit 59e70e7)
  • Loading branch information...
RobinD42 committed Sep 6, 2019
1 parent 7f8a697 commit 46ca3dbc70e2a61e81bf44469d029ff451da0e1f
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 46ca3db

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