From 5a6f4218f092bf8019bcac2cf2b08fcde65f7cad Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Thu, 12 Nov 2009 10:35:52 +0000 Subject: [PATCH] fix highlight in the datetime example --- Doc/tutorial/stdlib.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/tutorial/stdlib.rst b/Doc/tutorial/stdlib.rst index c0c7da38367..b11e8eb6ed2 100644 --- a/Doc/tutorial/stdlib.rst +++ b/Doc/tutorial/stdlib.rst @@ -179,7 +179,7 @@ focus of the implementation is on efficient member extraction for output formatting and manipulation. The module also supports objects that are timezone aware. :: - # dates are easily constructed and formatted + >>> # dates are easily constructed and formatted >>> from datetime import date >>> now = date.today() >>> now @@ -187,7 +187,7 @@ aware. :: >>> now.strftime("%m-%d-%y. %d %b %Y is a %A on the %d day of %B.") '12-02-03. 02 Dec 2003 is a Tuesday on the 02 day of December.' - # dates support calendar arithmetic + >>> # dates support calendar arithmetic >>> birthday = date(1964, 7, 31) >>> age = now - birthday >>> age.days