Use float instead of Union[int, float] (#2308)

This commit is contained in:
Yusuke Miyazaki authored and Jelle Zijlstra committed 2018-07-09 19:02:03 -07:00
1 parent 2a888416b2
commit 5bb58af6c8
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ class AbstractEventLoop(metaclass=ABCMeta):
@abstractmethod
def call_soon(self, callback: Callable[..., Any], *args: Any) -> Handle: ...
@abstractmethod
def call_later(self, delay: Union[int, float], callback: Callable[..., Any], *args: Any) -> Handle: ...
def call_later(self, delay: float, callback: Callable[..., Any], *args: Any) -> Handle: ...
@abstractmethod
def call_at(self, when: float, callback: Callable[..., Any], *args: Any) -> Handle: ...
@abstractmethod