Skip to content

Commit

Permalink
moved comment to the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
HalfWhitt committed Oct 30, 2024
1 parent a8b6b6e commit 7850926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/travertino/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ def style(self):
Assigning a style triggers an application of that style if an applicator has
already been assigned.
"""
# Has to have a fallback, because it's accessed before its assignment in the
# setter for applicator
return self._style

@style.setter
Expand All @@ -43,6 +41,8 @@ def applicator(self):
Assigning an applicator triggers an application of the node's style if a style
has already been assigned.
"""
# Has to have a fallback, because it's accessed before its assignment in the
# setter for style
return getattr(self, "_applicator", None)

@applicator.setter
Expand Down

0 comments on commit 7850926

Please sign in to comment.