From b560e996dfdf9f27fbcf72a7a71de389af4da3e1 Mon Sep 17 00:00:00 2001 From: Bernhard Stadlbauer Date: Sat, 3 Apr 2021 13:52:48 +0200 Subject: [PATCH] chore: Fix typo --- src/pytkdocs/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pytkdocs/objects.py b/src/pytkdocs/objects.py index 49e3b45..d326ec4 100644 --- a/src/pytkdocs/objects.py +++ b/src/pytkdocs/objects.py @@ -256,7 +256,7 @@ def add_child(self, obj: "Object") -> None: # noqa: WPS231 (not complex) self.methods.append(obj) # type: ignore elif isinstance(obj, Attribute): # Dataclass attributes with default values will already be present in `self.attributes` as they are - # resolved differently by the python interpreter. Aas they have a concrete value, they are already present + # resolved differently by the python interpreter. As they have a concrete value, they are already present # in the "original" class. They should be overridden with the new "dataclass" attribute coming in here # (having the "dataclass_field" property set) new_attribute_name = obj.name