Skip to content

Commit

Permalink
chore: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bstadlbauer committed Apr 3, 2021
1 parent 90f68c9 commit b560e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pytkdocs/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b560e99

Please sign in to comment.