Skip to content

Commit 21a3418

Browse files
maxtaran2010aaugustin
authored andcommitted
Fix typos in comments
- "menthods" -> "methods" in datastructures.py - "excuting" -> "executing" in asyncio/connection.py
1 parent f729dc4 commit 21a3418

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/websockets/asyncio/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ async def keepalive(self) -> None:
823823
# closing because ping(), via send_context(), waits for the
824824
# connection to be closed before raising ConnectionClosed.
825825
# However, connection_lost() cancels keepalive_task before
826-
# it gets a chance to resume excuting.
826+
# it gets a chance to resume executing.
827827
pong_received = await self.ping()
828828
if self.debug:
829829
self.logger.debug("% sent keepalive ping")

src/websockets/datastructures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def raw_items(self) -> Iterator[tuple[str, str]]:
165165
"""
166166
return iter(self._list)
167167

168-
# Internal menthods
168+
# Internal methods
169169

170170
def set_insecure(self, key: str, value: str) -> None:
171171
"""

0 commit comments

Comments
 (0)