mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
minor adjustment suggested by Peter Gephardt
This commit is contained in:
parent
2afbf96f53
commit
a5f1fd09eb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue