Skip to content

Commit bfb88b8

Browse files
committed
style: Typos
1 parent a172ad8 commit bfb88b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pytkdocs/loader.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def get_class_documentation(self, node: ObjectNode, members=None) -> Class:
338338
elif child_node.is_property():
339339
root_object.add_child(self.get_property_documentation(child_node))
340340

341-
# First check if this is pdyantic compataible
341+
# First check if this is Pydantic compatible
342342
if "__fields__" in class_.__dict__:
343343
root_object.properties = ["pydantic"]
344344
for field_name, model_field in class_.__dict__.get("__fields__", {}).items():
@@ -433,7 +433,7 @@ def get_property_documentation(self, node: ObjectNode) -> Attribute:
433433

434434
def get_pydantic_field_documentation(self, node: ObjectNode) -> Attribute:
435435
"""
436-
Get the documentation for a PyDantic Field
436+
Get the documentation for a Pydantic Field.
437437
438438
Arguments:
439439
node: The node representing the Field and its parents.

0 commit comments

Comments
 (0)