Clarified a docstring in tutorial05.

This commit is contained in:
Qile Wang 2015-12-07 04:05:47 -05:00 committed by Tim Graham
parent a5619f7ed3
commit 0f2c2c104b
1 changed files with 2 additions and 2 deletions

View File

@ -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)