mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-07-21 12:41:10 +02:00
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 59e70e7c76
)
This commit is contained in:
@@ -48,7 +48,10 @@ import sys
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user