Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
5f711030
Commit
5f711030
authored
May 28, 2016
by
Martin Panter
Browse files
Options
Browse Files
Download
Plain Diff
Issue #26553: Merge capitalization from 3.5
parents
c249221d
fe289c0f
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
13 deletions
+13
-13
Doc/library/concurrent.futures.rst
Doc/library/concurrent.futures.rst
+1
-1
Doc/library/ftplib.rst
Doc/library/ftplib.rst
+1
-1
Doc/library/http.client.rst
Doc/library/http.client.rst
+1
-1
Doc/library/urllib.parse.rst
Doc/library/urllib.parse.rst
+1
-1
Doc/library/urllib.request.rst
Doc/library/urllib.request.rst
+7
-7
Doc/library/xmlrpc.client.rst
Doc/library/xmlrpc.client.rst
+2
-2
No files found.
Doc/library/concurrent.futures.rst
View file @
5f711030
...
...
@@ -153,7 +153,7 @@ ThreadPoolExecutor Example
'http://www.bbc.co.uk/',
'http://some-made-up-domain.com/']
# Retrieve a single page and report the
url
and contents
# Retrieve a single page and report the
URL
and contents
def load_url(url, timeout):
with urllib.request.urlopen(url, timeout=timeout) as conn:
return conn.read()
...
...
Doc/library/ftplib.rst
View file @
5f711030
...
...
@@ -16,7 +16,7 @@
This module defines the class :class:`FTP` and a few related items. The
:class:`FTP` class implements the client side of the FTP protocol. You can use
this to write Python programs that perform a variety of automated FTP jobs, such
as mirroring other
ftp
servers. It is also used by the module
as mirroring other
FTP
servers. It is also used by the module
:mod:`urllib.request` to handle URLs that use FTP. For more information on FTP
(File Transfer Protocol), see Internet :rfc:`959`.
...
...
Doc/library/http.client.rst
View file @
5f711030
...
...
@@ -22,7 +22,7 @@ HTTPS protocols. It is normally not used directly --- the module
.. seealso::
The `Requests package <https://requests.readthedocs.org/>`_
is recommended for a higher-level
http
client interface.
is recommended for a higher-level
HTTP
client interface.
.. note::
...
...
Doc/library/urllib.parse.rst
View file @
5f711030
...
...
@@ -592,7 +592,7 @@ task isn't already covered by the URL parsing functions above.
Names (URNs) and Uniform Resource Locators (URLs).
:rfc:`2368` - The mailto URL scheme.
Parsing requirements for mailto
url
schemes.
Parsing requirements for mailto
URL
schemes.
:rfc:`1808` - Relative Uniform Resource Locators
This Request For Comments includes the rules for joining an absolute and a
...
...
Doc/library/urllib.request.rst
View file @
5f711030
...
...
@@ -15,7 +15,7 @@ authentication, redirections, cookies and more.
.. seealso::
The `Requests package
<https:
//
requests
.
readthedocs
.
org
/>
`_
is recommended for a higher-level
http
client interface.
is recommended for a higher-level
HTTP
client interface.
The :mod:`urllib.request` module defines the following functions:
...
...
@@ -71,7 +71,7 @@ The :mod:`urllib.request` module defines the following functions:
* :meth:`~urllib.response.addinfourl.getcode` -- return the HTTP status code of the response.
For
http and https url
s, this function returns a
For
HTTP and HTTPS URL
s, this function returns a
:class:`http.client.HTTPResponse` object slightly modified. In addition
to the three new methods above, the msg attribute contains the
same information as the :attr:`~http.client.HTTPResponse.reason`
...
...
@@ -79,7 +79,7 @@ The :mod:`urllib.request` module defines the following functions:
the response headers as it is specified in the documentation for
:class:`~http.client.HTTPResponse`.
For
ftp, file, and data url
s and requests explicitly handled by legacy
For
FTP, file, and data URL
s and requests explicitly handled by legacy
:class:`URLopener` and :class:`FancyURLopener` classes, this function
returns a :class:`urllib.response.addinfourl` object.
...
...
@@ -453,7 +453,7 @@ request.
.. attribute:: Request.selector
The URI path. If the :class:`Request` uses a proxy, then selector
will be the full
url
that is passed to the proxy.
will be the full
URL
that is passed to the proxy.
.. attribute:: Request.data
...
...
@@ -772,8 +772,8 @@ HTTPRedirectHandler Objects
details of the precise meanings of the various redirection codes.
An :class:`HTTPError` exception raised as a security consideration if the
HTTPRedirectHandler is presented with a redirected
url
which is not an HTTP,
HTTPS or FTP
url
.
HTTPRedirectHandler is presented with a redirected
URL
which is not an HTTP,
HTTPS or FTP
URL
.
.. method:: HTTPRedirectHandler.redirect_request(req, fp, code, msg, hdrs, newurl)
...
...
@@ -1126,7 +1126,7 @@ it. ::
Note that urlopen returns a bytes object. This is because there is no way
for urlopen to automatically determine the encoding of the byte stream
it receives from the
http
server. In general, a program will decode
it receives from the
HTTP
server. In general, a program will decode
the returned bytes object to string once it determines or guesses
the appropriate encoding.
...
...
Doc/library/xmlrpc.client.rst
View file @
5f711030
...
...
@@ -29,7 +29,7 @@ between conformable Python objects and XML on the wire.
.. versionchanged:: 3.5
For
https
URIs, :mod:`xmlrpc.client` now performs all the necessary
For
HTTPS
URIs, :mod:`xmlrpc.client` now performs all the necessary
certificate and hostname checks by default.
.. class:: ServerProxy(uri, transport=None, encoding=None, verbose=False, \
...
...
@@ -67,7 +67,7 @@ between conformable Python objects and XML on the wire.
portion will be base64-encoded as an HTTP 'Authorization' header, and sent to
the remote server as part of the connection process when invoking an XML-RPC
method. You only need to use this if the remote server requires a Basic
Authentication user and password. If an HTTPS
url
is provided, *context* may
Authentication user and password. If an HTTPS
URL
is provided, *context* may
be :class:`ssl.SSLContext` and configures the SSL settings of the underlying
HTTPS connection.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment