Skip to content

Commit 30cd02d

Browse files
committed
update the headers to be sentence case
1 parent 26de888 commit 30cd02d

2 files changed

Lines changed: 27 additions & 27 deletions

File tree

Doc/library/urllib.parse.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ which was introduced in :rfc:`1808`. However, this term has been obsoleted by
4444
:rfc:`3986`, which introduced the term ``authority`` as its replacement.
4545
The use of ``netloc`` is continued for backward compatibility.
4646

47-
URL Parsing
47+
URL parsing
4848
-----------
4949

5050
The URL parsing functions focus on splitting a URL string into its components,
@@ -492,7 +492,7 @@ to be very cautious about making API behavior changes.
492492

493493
.. _parsing-ascii-encoded-bytes:
494494

495-
Parsing ASCII Encoded Bytes
495+
Parsing ASCII encoded bytes
496496
---------------------------
497497

498498
The URL parsing functions were originally designed to operate on character
@@ -537,7 +537,7 @@ individual URL quoting functions.
537537

538538
.. _urlparse-result-object:
539539

540-
Structured Parse Results
540+
Structured parse results
541541
------------------------
542542

543543
The result objects from the :func:`urlsplit`, :func:`urlparse` and
@@ -705,7 +705,7 @@ operating on :class:`bytes` or :class:`bytearray` objects:
705705
.. versionadded:: 3.2
706706

707707

708-
URL Quoting
708+
URL quoting
709709
-----------
710710

711711
The URL quoting functions focus on taking program data and making it safe

Doc/library/urllib.request.rst

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ The following classes are provided:
517517

518518
.. _request-objects:
519519

520-
Request Objects
520+
Request objects
521521
---------------
522522

523523
The following methods describe :class:`Request`'s public interface,
@@ -659,7 +659,7 @@ request.
659659

660660
.. _opener-director-objects:
661661

662-
OpenerDirector Objects
662+
OpenerDirector objects
663663
----------------------
664664

665665
:class:`OpenerDirector` instances have the following methods:
@@ -754,7 +754,7 @@ sorting the handler instances.
754754

755755
.. _base-handler-objects:
756756

757-
BaseHandler Objects
757+
BaseHandler objects
758758
-------------------
759759

760760
:class:`BaseHandler` objects provide a couple of methods that are directly
@@ -889,7 +889,7 @@ The following attribute and methods should only be used by classes derived from
889889

890890
.. _http-redirect-handler:
891891

892-
HTTPRedirectHandler Objects
892+
HTTPRedirectHandler objects
893893
---------------------------
894894

895895
.. note::
@@ -956,7 +956,7 @@ HTTPRedirectHandler Objects
956956

957957
.. _http-cookie-processor:
958958

959-
HTTPCookieProcessor Objects
959+
HTTPCookieProcessor objects
960960
---------------------------
961961

962962
:class:`HTTPCookieProcessor` instances have one attribute:
@@ -968,7 +968,7 @@ HTTPCookieProcessor Objects
968968

969969
.. _proxy-handler:
970970

971-
ProxyHandler Objects
971+
ProxyHandler objects
972972
--------------------
973973

974974

@@ -984,7 +984,7 @@ ProxyHandler Objects
984984

985985
.. _http-password-mgr:
986986

987-
HTTPPasswordMgr Objects
987+
HTTPPasswordMgr objects
988988
-----------------------
989989

990990
These methods are available on :class:`HTTPPasswordMgr` and
@@ -1010,7 +1010,7 @@ These methods are available on :class:`HTTPPasswordMgr` and
10101010

10111011
.. _http-password-mgr-with-prior-auth:
10121012

1013-
HTTPPasswordMgrWithPriorAuth Objects
1013+
HTTPPasswordMgrWithPriorAuth objects
10141014
------------------------------------
10151015

10161016
This password manager extends :class:`HTTPPasswordMgrWithDefaultRealm` to support
@@ -1046,7 +1046,7 @@ tracking URIs for which authentication credentials should always be sent.
10461046

10471047
.. _abstract-basic-auth-handler:
10481048

1049-
AbstractBasicAuthHandler Objects
1049+
AbstractBasicAuthHandler objects
10501050
--------------------------------
10511051

10521052

@@ -1066,7 +1066,7 @@ AbstractBasicAuthHandler Objects
10661066

10671067
.. _http-basic-auth-handler:
10681068

1069-
HTTPBasicAuthHandler Objects
1069+
HTTPBasicAuthHandler objects
10701070
----------------------------
10711071

10721072

@@ -1077,7 +1077,7 @@ HTTPBasicAuthHandler Objects
10771077

10781078
.. _proxy-basic-auth-handler:
10791079

1080-
ProxyBasicAuthHandler Objects
1080+
ProxyBasicAuthHandler objects
10811081
-----------------------------
10821082

10831083

@@ -1088,7 +1088,7 @@ ProxyBasicAuthHandler Objects
10881088

10891089
.. _abstract-digest-auth-handler:
10901090

1091-
AbstractDigestAuthHandler Objects
1091+
AbstractDigestAuthHandler objects
10921092
---------------------------------
10931093

10941094

@@ -1102,7 +1102,7 @@ AbstractDigestAuthHandler Objects
11021102

11031103
.. _http-digest-auth-handler:
11041104

1105-
HTTPDigestAuthHandler Objects
1105+
HTTPDigestAuthHandler objects
11061106
-----------------------------
11071107

11081108

@@ -1113,7 +1113,7 @@ HTTPDigestAuthHandler Objects
11131113

11141114
.. _proxy-digest-auth-handler:
11151115

1116-
ProxyDigestAuthHandler Objects
1116+
ProxyDigestAuthHandler objects
11171117
------------------------------
11181118

11191119

@@ -1124,7 +1124,7 @@ ProxyDigestAuthHandler Objects
11241124

11251125
.. _http-handler-objects:
11261126

1127-
HTTPHandler Objects
1127+
HTTPHandler objects
11281128
-------------------
11291129

11301130

@@ -1136,7 +1136,7 @@ HTTPHandler Objects
11361136

11371137
.. _https-handler-objects:
11381138

1139-
HTTPSHandler Objects
1139+
HTTPSHandler objects
11401140
--------------------
11411141

11421142

@@ -1148,7 +1148,7 @@ HTTPSHandler Objects
11481148

11491149
.. _file-handler-objects:
11501150

1151-
FileHandler Objects
1151+
FileHandler objects
11521152
-------------------
11531153

11541154

@@ -1164,7 +1164,7 @@ FileHandler Objects
11641164

11651165
.. _data-handler-objects:
11661166

1167-
DataHandler Objects
1167+
DataHandler objects
11681168
-------------------
11691169

11701170
.. method:: DataHandler.data_open(req)
@@ -1179,7 +1179,7 @@ DataHandler Objects
11791179

11801180
.. _ftp-handler-objects:
11811181

1182-
FTPHandler Objects
1182+
FTPHandler objects
11831183
------------------
11841184

11851185

@@ -1191,7 +1191,7 @@ FTPHandler Objects
11911191

11921192
.. _cacheftp-handler-objects:
11931193

1194-
CacheFTPHandler Objects
1194+
CacheFTPHandler objects
11951195
-----------------------
11961196

11971197
:class:`CacheFTPHandler` objects are :class:`FTPHandler` objects with the
@@ -1210,7 +1210,7 @@ following additional methods:
12101210

12111211
.. _unknown-handler-objects:
12121212

1213-
UnknownHandler Objects
1213+
UnknownHandler objects
12141214
----------------------
12151215

12161216

@@ -1221,7 +1221,7 @@ UnknownHandler Objects
12211221

12221222
.. _http-error-processor-objects:
12231223

1224-
HTTPErrorProcessor Objects
1224+
HTTPErrorProcessor objects
12251225
--------------------------
12261226

12271227
.. method:: HTTPErrorProcessor.http_response(request, response)
@@ -1497,7 +1497,7 @@ some point in the future.
14971497
calls to :func:`urlretrieve`.
14981498

14991499

1500-
:mod:`!urllib.request` Restrictions
1500+
:mod:`!urllib.request` restrictions
15011501
-----------------------------------
15021502

15031503
.. index::

0 commit comments

Comments
 (0)