From 25ad95de4f35e4f60b24bcff9082af8e2304f276 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Tue, 3 Jul 2018 05:22:58 +0200 Subject: [PATCH] Drop Python 3.3 support from asyncio and ipaddress (#2293) --- stdlib/3.3/ipaddress.pyi | 5 ++--- stdlib/3.4/asyncio/queues.pyi | 7 +++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/stdlib/3.3/ipaddress.pyi b/stdlib/3.3/ipaddress.pyi index 11079f734..90a88b8ea 100644 --- a/stdlib/3.3/ipaddress.pyi +++ b/stdlib/3.3/ipaddress.pyi @@ -37,9 +37,8 @@ class _BaseAddress(_IPAddressBase, SupportsInt): def __hash__(self) -> int: ... def __int__(self) -> int: ... def __sub__(self: _T, other: int) -> _T: ... - if sys.version_info >= (3, 4): - @property - def is_global(self) -> bool: ... + @property + def is_global(self) -> bool: ... @property def is_link_local(self) -> bool: ... @property diff --git a/stdlib/3.4/asyncio/queues.pyi b/stdlib/3.4/asyncio/queues.pyi index 38baf669b..4575943df 100644 --- a/stdlib/3.4/asyncio/queues.pyi +++ b/stdlib/3.4/asyncio/queues.pyi @@ -33,10 +33,9 @@ class Queue(Generic[_T]): @coroutine def get(self) -> Generator[Any, None, _T]: ... def get_nowait(self) -> _T: ... - if sys.version_info >= (3, 4): - @coroutine - def join(self) -> Generator[Any, None, bool]: ... - def task_done(self) -> None: ... + @coroutine + def join(self) -> Generator[Any, None, bool]: ... + def task_done(self) -> None: ... class PriorityQueue(Queue[_T]): ...