diff --git a/docs/changelog.rst b/docs/changelog.rst index 76073f809..5399d4bc9 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -29,8 +29,6 @@ Changelog Also: -* Added compatibility with Python 3.7. - * :func:`~client.connect()` performs HTTP Basic Auth when the URI contains credentials. @@ -139,8 +137,6 @@ Also: 3.3 ... -* Ensured compatibility with Python 3.6. - * Reduced noise in logs caused by connection resets. * Avoided crashing on concurrent writes on slow connections. diff --git a/websockets/client.py b/websockets/client.py index 3a810173c..92f29e9f5 100644 --- a/websockets/client.py +++ b/websockets/client.py @@ -393,7 +393,6 @@ def __aenter__(self): def __aexit__(self, exc_type, exc_value, traceback): yield from self.ws_client.close() - @asyncio.coroutine def __await__(self): transport, protocol = yield from self._creating_connection diff --git a/websockets/server.py b/websockets/server.py index 12c6514e1..8db048282 100644 --- a/websockets/server.py +++ b/websockets/server.py @@ -738,7 +738,6 @@ def __aexit__(self, exc_type, exc_value, traceback): self.ws_server.close() yield from self.ws_server.wait_closed() - @asyncio.coroutine def __await__(self): server = yield from self._creating_server self.ws_server.wrap(server)