Small description change.

This commit is contained in:
alwayscompiling
2022-07-30 21:58:10 -04:00
parent 01df80d358
commit 8c7a801800
+5 -5
View File
@@ -15,17 +15,17 @@ class Score:
@property
def user(self) -> str:
"""Gets score's user."""
"""Getter for user."""
return self._user
@property
def score(self) -> int:
"""Gets score's value"""
"""Getter for score value."""
return self._score
@score.setter
def score(self, score: int) -> None:
"""Sets score's value"""
"""Setter for score value."""
self._score = score
def get_str(self) -> str:
@@ -43,12 +43,12 @@ class ScoreTime(Score):
@property
def score(self) -> float:
"""Gets score's value"""
"""Getter for score value."""
return self._score
@score.setter
def score(self, score: float) -> None:
"""Sets score's value"""
"""Setter for score value."""
self._score = score
def get_str(self) -> str: