From 03856abf06e2ffc1a056d9d0cdec435f2b655a6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Buffat?= Date: Wed, 24 Nov 2021 11:07:20 +0100 Subject: [PATCH] remove accidential newlines --- janus/__init__.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/janus/__init__.py b/janus/__init__.py index 233fb2d..b8b8ccd 100644 --- a/janus/__init__.py +++ b/janus/__init__.py @@ -83,7 +83,6 @@ def put_nowait(self, item: T) -> None: def get_nowait(self) -> T: ... - def put(self, item: T, block: bool = True, timeout: OptFloat = None) -> None: ... @@ -97,15 +96,12 @@ def join(self) -> None: class AsyncQueue(BaseQueue[T], Protocol[T]): - async def put(self, item: T) -> None: ... - async def get(self) -> T: ... - async def join(self) -> None: ... @@ -115,7 +111,6 @@ async def join(self) -> None: current_loop = asyncio.get_event_loop - class Queue(Generic[T]): def __init__(self, maxsize: int = 0) -> None: self._loop = current_loop()