From c341db1d8326dee8815d2416a39a82bb3a72ab24 Mon Sep 17 00:00:00 2001 From: Qile Wang Date: Mon, 7 Dec 2015 04:05:47 -0500 Subject: [PATCH] [1.9.x] Clarified a docstring in tutorial05. Backport of 0f2c2c104b51a226525d7e7baa65ea1fd27e994f from master --- docs/intro/tutorial05.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/intro/tutorial05.txt b/docs/intro/tutorial05.txt index 09c4ff2a96..3bda0608a4 100644 --- a/docs/intro/tutorial05.txt +++ b/docs/intro/tutorial05.txt @@ -457,8 +457,8 @@ class: def create_question(question_text, days): """ - Creates a question with the given `question_text` published the given - number of `days` offset to now (negative for questions published + Creates a question with the given `question_text` and published the + given number of `days` offset to now (negative for questions published in the past, positive for questions that have yet to be published). """ time = timezone.now() + datetime.timedelta(days=days)