mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
Fixed index references to modules.
Added new index entry for mimetools module.
This commit is contained in:
parent
a51f5a48e5
commit
f5eaa2efb8
2 changed files with 18 additions and 16 deletions
|
@ -8,13 +8,13 @@
|
||||||
\renewcommand{\indexsubitem}{(in module urllib)}
|
\renewcommand{\indexsubitem}{(in module urllib)}
|
||||||
|
|
||||||
This module provides a high-level interface for fetching data across
|
This module provides a high-level interface for fetching data across
|
||||||
the World-Wide Web. In particular, the \code{urlopen} function is
|
the World-Wide Web. In particular, the \code{urlopen()} function is
|
||||||
similar to the built-in function \code{open}, but accepts URLs
|
similar to the built-in function \code{open()}, but accepts URLs
|
||||||
(Universal Resource Locators) instead of filenames. Some restrictions
|
(Universal Resource Locators) instead of filenames. Some restrictions
|
||||||
apply --- it can only open URLs for reading, and no seek operations
|
apply --- it can only open URLs for reading, and no seek operations
|
||||||
are available.
|
are available.
|
||||||
|
|
||||||
it defines the following public functions:
|
It defines the following public functions:
|
||||||
|
|
||||||
\begin{funcdesc}{urlopen}{url}
|
\begin{funcdesc}{urlopen}{url}
|
||||||
Open a network object denoted by a URL for reading. If the URL does
|
Open a network object denoted by a URL for reading. If the URL does
|
||||||
|
@ -36,6 +36,7 @@ The \code{info()} method returns an instance of the class
|
||||||
if the protocol uses such headers (currently the only supported
|
if the protocol uses such headers (currently the only supported
|
||||||
protocol that uses this is HTTP). See the description of the
|
protocol that uses this is HTTP). See the description of the
|
||||||
\code{mimetools} module.
|
\code{mimetools} module.
|
||||||
|
\refstmodindex{mimetools}
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{urlretrieve}{url}
|
\begin{funcdesc}{urlretrieve}{url}
|
||||||
|
@ -118,15 +119,15 @@ looking at the \code{Content-type} header. For the Gopher protocol,
|
||||||
type information is encoded in the URL; there is currently no easy way
|
type information is encoded in the URL; there is currently no easy way
|
||||||
to extract it. If the returned data is HTML, you can use the module
|
to extract it. If the returned data is HTML, you can use the module
|
||||||
\code{htmllib} to parse it.
|
\code{htmllib} to parse it.
|
||||||
\index{HTML}
|
\index{HTML}%
|
||||||
\index{HTTP}
|
\index{HTTP}%
|
||||||
\index{Gopher}
|
\index{Gopher}%
|
||||||
\stmodindex{htmllib}
|
\refstmodindex{htmllib}
|
||||||
|
|
||||||
\item
|
\item
|
||||||
Although the \code{urllib} module contains (undocumented) routines to
|
Although the \code{urllib} module contains (undocumented) routines to
|
||||||
parse and unparse URL strings, the recommended interface for URL
|
parse and unparse URL strings, the recommended interface for URL
|
||||||
manipulation is in module \code{urlparse}.
|
manipulation is in module \code{urlparse}.
|
||||||
\stmodindex{urlparse}
|
\refstmodindex{urlparse}
|
||||||
|
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
|
@ -8,13 +8,13 @@
|
||||||
\renewcommand{\indexsubitem}{(in module urllib)}
|
\renewcommand{\indexsubitem}{(in module urllib)}
|
||||||
|
|
||||||
This module provides a high-level interface for fetching data across
|
This module provides a high-level interface for fetching data across
|
||||||
the World-Wide Web. In particular, the \code{urlopen} function is
|
the World-Wide Web. In particular, the \code{urlopen()} function is
|
||||||
similar to the built-in function \code{open}, but accepts URLs
|
similar to the built-in function \code{open()}, but accepts URLs
|
||||||
(Universal Resource Locators) instead of filenames. Some restrictions
|
(Universal Resource Locators) instead of filenames. Some restrictions
|
||||||
apply --- it can only open URLs for reading, and no seek operations
|
apply --- it can only open URLs for reading, and no seek operations
|
||||||
are available.
|
are available.
|
||||||
|
|
||||||
it defines the following public functions:
|
It defines the following public functions:
|
||||||
|
|
||||||
\begin{funcdesc}{urlopen}{url}
|
\begin{funcdesc}{urlopen}{url}
|
||||||
Open a network object denoted by a URL for reading. If the URL does
|
Open a network object denoted by a URL for reading. If the URL does
|
||||||
|
@ -36,6 +36,7 @@ The \code{info()} method returns an instance of the class
|
||||||
if the protocol uses such headers (currently the only supported
|
if the protocol uses such headers (currently the only supported
|
||||||
protocol that uses this is HTTP). See the description of the
|
protocol that uses this is HTTP). See the description of the
|
||||||
\code{mimetools} module.
|
\code{mimetools} module.
|
||||||
|
\refstmodindex{mimetools}
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{urlretrieve}{url}
|
\begin{funcdesc}{urlretrieve}{url}
|
||||||
|
@ -118,15 +119,15 @@ looking at the \code{Content-type} header. For the Gopher protocol,
|
||||||
type information is encoded in the URL; there is currently no easy way
|
type information is encoded in the URL; there is currently no easy way
|
||||||
to extract it. If the returned data is HTML, you can use the module
|
to extract it. If the returned data is HTML, you can use the module
|
||||||
\code{htmllib} to parse it.
|
\code{htmllib} to parse it.
|
||||||
\index{HTML}
|
\index{HTML}%
|
||||||
\index{HTTP}
|
\index{HTTP}%
|
||||||
\index{Gopher}
|
\index{Gopher}%
|
||||||
\stmodindex{htmllib}
|
\refstmodindex{htmllib}
|
||||||
|
|
||||||
\item
|
\item
|
||||||
Although the \code{urllib} module contains (undocumented) routines to
|
Although the \code{urllib} module contains (undocumented) routines to
|
||||||
parse and unparse URL strings, the recommended interface for URL
|
parse and unparse URL strings, the recommended interface for URL
|
||||||
manipulation is in module \code{urlparse}.
|
manipulation is in module \code{urlparse}.
|
||||||
\stmodindex{urlparse}
|
\refstmodindex{urlparse}
|
||||||
|
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue