diff options
author | 2021-05-13 15:23:15 -0300 | |
---|---|---|
committer | 2021-05-13 15:23:15 -0300 | |
commit | b090b15b4df08b7908cca6016a65802fc779cf3c (patch) | |
tree | 8df2d736f258133e9b2e22bd78600b5a5386e4ce /bot/exts/evergreen/trivia_quiz.py | |
parent | implement decorator-factory's changes (diff) |
add a docstring to the dataclass
Diffstat (limited to 'bot/exts/evergreen/trivia_quiz.py')
-rw-r--r-- | bot/exts/evergreen/trivia_quiz.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/exts/evergreen/trivia_quiz.py b/bot/exts/evergreen/trivia_quiz.py index 7aab8b87..b5a18516 100644 --- a/bot/exts/evergreen/trivia_quiz.py +++ b/bot/exts/evergreen/trivia_quiz.py @@ -63,6 +63,7 @@ UNITS_TO_BASE_UNITS = { @dataclass(frozen=True) class QuizEntry: + """Dataclass for a quiz entry (a question and a string containing answers separated by commas)""" question: str answer: str |