mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
Merge pull request #1337 from swt2c/time_clock_removed
Replace time.clock (removed in Python 3.8) with time.process_time
This commit is contained in:
@@ -48,7 +48,10 @@ import sys
|
|||||||
mac = sys.platform.startswith("darwin")
|
mac = sys.platform.startswith("darwin")
|
||||||
|
|
||||||
import numpy as N
|
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 wx
|
||||||
import six
|
import six
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user