#16017: capitalize URLs.

This commit is contained in:
Ezio Melotti 2012-09-24 17:07:39 +03:00
parent 4f24af065d
commit c926c59d80
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ Internet Access
There are a number of modules for accessing the internet and processing internet There are a number of modules for accessing the internet and processing internet
protocols. Two of the simplest are :mod:`urllib.request` for retrieving data protocols. Two of the simplest are :mod:`urllib.request` for retrieving data
from urls and :mod:`smtplib` for sending mail:: from URLs and :mod:`smtplib` for sending mail::
>>> from urllib.request import urlopen >>> from urllib.request import urlopen
>>> for line in urlopen('http://tycho.usno.navy.mil/cgi-bin/timer.pl'): >>> for line in urlopen('http://tycho.usno.navy.mil/cgi-bin/timer.pl'):