]> granicus.if.org Git - python/commitdiff
minor adjustment suggested by Peter Gephardt
authorFred Drake <fdrake@acm.org>
Wed, 26 Apr 2006 05:19:39 +0000 (05:19 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 26 Apr 2006 05:19:39 +0000 (05:19 +0000)
Doc/tut/tut.tex

index e01f254bfbac9a5e38ca66644306ac7eb55d5fbb..9d45abe16da873053076c5b6fc7fe5e8ee48cb5f 100644 (file)
@@ -4771,7 +4771,7 @@ for sending mail:
 \begin{verbatim}
 >>> import urllib2
 >>> for line in urllib2.urlopen('http://tycho.usno.navy.mil/cgi-bin/timer.pl'):
-...     if 'EST' in line:      # look for Eastern Standard Time
+...     if 'EST' in line or 'EDT' in line:  # look for Eastern Time
 ...         print line
     
 <BR>Nov. 25, 09:43:32 PM EST