Skip to content

Commit

Permalink
Add period
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolCat467 authored Jul 16, 2022
1 parent a09673e commit 3dcd296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mcstatus/protocol/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def write_ascii(self, value: str) -> None:
self.write(bytearray.fromhex("00"))

def write_short(self, value: int) -> None:
"""Write 2 bytes for value -32768 - 32767"""
"""Write 2 bytes for value -32768 - 32767."""
self.write(self._pack("h", value))

def write_ushort(self, value: int) -> None:
Expand Down Expand Up @@ -192,7 +192,7 @@ async def write_ascii(self, value: str) -> None:
await self.write(bytearray.fromhex("00"))

async def write_short(self, value: int) -> None:
"""Write 2 bytes for value -32768 - 32767"""
"""Write 2 bytes for value -32768 - 32767."""
await self.write(self._pack("h", value))

async def write_ushort(self, value: int) -> None:
Expand Down

0 comments on commit 3dcd296

Please sign in to comment.