Skip to content

Commit

Permalink
Add "for example" in a code comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjerdonek committed Jul 10, 2017
1 parent 49e6e26 commit e62c9a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions websockets/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit e62c9a3

Please sign in to comment.