Add return None annotations.

pull/493/head
KmolYuan 2019-09-06 22:18:11 +08:00
parent 2606bfeb8f
commit 85e6277d2f
1 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ class Entity:
class SolverSystem: class SolverSystem:
def __init__(self): def __init__(self) -> None:
... ...
def clear(self) -> None: def clear(self) -> None:
@ -164,7 +164,7 @@ class SolverSystem:
def group(self) -> int: def group(self) -> int:
... ...
def set_params(self, p: Params, params: Sequence[float]): def set_params(self, p: Params, params: Sequence[float]) -> None:
... ...
def params(self, p: Params) -> Tuple[float, ...]: def params(self, p: Params) -> Tuple[float, ...]: