Commit 52625c82 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 34d8ed8e
...@@ -91,8 +91,8 @@ def sleep(secs): ...@@ -91,8 +91,8 @@ def sleep(secs):
def time(): def time():
return float(Now().UnixNano()) / Second return float(Now().UnixNano()) / Second
def clock(): #def clock():
return time() # return time()
def strftime(format, tt=None): # pylint: disable=missing-docstring,redefined-builtin def strftime(format, tt=None): # pylint: disable=missing-docstring,redefined-builtin
t = Unix(int(mktime(tt)), 0) if tt else Now() t = Unix(int(mktime(tt)), 0) if tt else Now()
......
This diff is collapsed.
...@@ -35,8 +35,9 @@ Version History: ...@@ -35,8 +35,9 @@ Version History:
LOOPS = 50000 LOOPS = 50000
#from time import clock #from time import clock
import time #import time
clock = time.clock #clock = time.clock
from time import time as clock
import traceback import traceback
__version__ = "1.1" __version__ = "1.1"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment