From e62c9a3ca68ba867788fbf6d447805d438bda19a Mon Sep 17 00:00:00 2001 From: Chris Jerdonek Date: Mon, 10 Jul 2017 15:05:10 -0700 Subject: [PATCH] Add "for example" in a code comment. --- websockets/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/websockets/server.py b/websockets/server.py index 2b6f5ff8..95d15419 100644 --- a/websockets/server.py +++ b/websockets/server.py @@ -221,8 +221,8 @@ def select_subprotocol(client_protos, server_protos): priority = lambda p: client_protos.index(p) + server_protos.index(p) return sorted(common_protos, key=priority)[0] - # This method is declared as a coroutine because overridden versions - # can require network requests (e.g. for authentication checks). + # This method is declared as a coroutine because overridden versions can + # require network requests, for example (e.g. for authentication checks). @asyncio.coroutine def get_response_status(self, set_header): """