Skip to content

Commit 9174635

Browse files
committed
doc: fix some more typos in docstrings.
Signed-off-by: Romain Bezut <morian@xdec.net>
1 parent 31051cd commit 9174635

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

aiostem/command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ def _pydantic_serializer(cls, item: Self, to_dict: SerializerFunctionWrapHandler
427427
428428
This method is the one used by pydantic during serialization.
429429
Here ``to_dict`` is a function used to call the inner (original) serializer,
430-
which provides a nice dictionary with all of our fields already serializer.
430+
which provides a nice dictionary with all of our fields already serialized.
431431
432432
"""
433433
return item.serialize_from_struct(to_dict(item))

aiostem/utils/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def keyword(self) -> str:
106106
Extract the first word from the header.
107107
108108
Note:
109-
An event always provide its keyword in the fist item.
109+
An event always provides its keyword in the first item.
110110
111111
"""
112112
if self.is_event and len(self.items) > 0:

aiostem/utils/syntax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
def _string_indexof(string: str, separators: str) -> int:
2525
"""
26-
Find the index of any of the provided separator.
26+
Find the index of any of the provided separators.
2727
2828
Args:
2929
string: A string to look into.

0 commit comments

Comments
 (0)