Fix the typing for clock_settime (#1629)

clock_settime expects a float as parameter, and returns nothing.
This commit is contained in:
daid
2017-09-27 16:52:50 +02:00
committed by Matthias Kramm
parent ffe2bee7a7
commit d14272a14f

View File

@@ -91,4 +91,4 @@ if sys.version_info >= (3, 3):
if sys.platform != 'win32':
def clock_getres(clk_id: int) -> float: ... # Unix only
def clock_gettime(clk_id: int) -> float: ... # Unix only
def clock_settime(clk_id: int, time: struct_time) -> float: ... # Unix only
def clock_settime(clk_id: int, time: float) -> None: ... # Unix only