Clarified a docstring in tutorial05.
This commit is contained in:
parent
a5619f7ed3
commit
0f2c2c104b
|
@ -457,8 +457,8 @@ class:
|
||||||
|
|
||||||
def create_question(question_text, days):
|
def create_question(question_text, days):
|
||||||
"""
|
"""
|
||||||
Creates a question with the given `question_text` published the given
|
Creates a question with the given `question_text` and published the
|
||||||
number of `days` offset to now (negative for questions published
|
given number of `days` offset to now (negative for questions published
|
||||||
in the past, positive for questions that have yet to be published).
|
in the past, positive for questions that have yet to be published).
|
||||||
"""
|
"""
|
||||||
time = timezone.now() + datetime.timedelta(days=days)
|
time = timezone.now() + datetime.timedelta(days=days)
|
||||||
|
|
Loading…
Reference in New Issue