mirror of
https://github.com/python/cpython.git
synced 2025-11-08 21:52:45 +00:00
#16017: capitalize URLs.
This commit is contained in:
parent
4f24af065d
commit
c926c59d80
1 changed files with 1 additions and 1 deletions
|
|
@ -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'):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue