Skip to content

Commit

Permalink
Clarify that 'this' is 'this method', as per review feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyandrewmeyer committed Sep 20, 2023
1 parent 77be0fc commit e1067fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ops/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ def snapshot(self) -> Dict[str, Any]:
def departing_unit(self) -> Optional[model.Unit]:
"""The :class:`ops.Unit` that is departing, if any.
Use this to determine (for example) whether this unit is the
Use this method to determine (for example) whether this unit is the
departing one.
"""
# doing this on init would fail because `framework` gets patched in
Expand Down

0 comments on commit e1067fc

Please sign in to comment.