Skip to content

Commit 6fc1efa

Browse files
bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380)
Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 11749e2) Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
1 parent 0ea5e0d commit 6fc1efa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+109
-107
lines changed

Doc/bugs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Using the Python issue tracker
4141
==============================
4242

4343
Bug reports for Python itself should be submitted via the Python Bug Tracker
44-
(https://bugs.python.org/). The bug tracker offers a Web form which allows
44+
(https://bugs.python.org/). The bug tracker offers a web form which allows
4545
pertinent information to be entered and submitted to the developers.
4646

4747
The first step in filing a report is to determine whether the problem has

Doc/faq/general.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ to many different classes of problems.
113113

114114
The language comes with a large standard library that covers areas such as
115115
string processing (regular expressions, Unicode, calculating differences between
116-
files), Internet protocols (HTTP, FTP, SMTP, XML-RPC, POP, IMAP, CGI
116+
files), internet protocols (HTTP, FTP, SMTP, XML-RPC, POP, IMAP, CGI
117117
programming), software engineering (unit testing, logging, profiling, parsing
118118
Python code), and operating system interfaces (system calls, filesystems, TCP/IP
119119
sockets). Look at the table of contents for :ref:`library-index` to get an idea

Doc/faq/library.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ library and will be able to skip this step.)
2020

2121
For third-party packages, search the `Python Package Index
2222
<https://pypi.org>`_ or try `Google <https://www.google.com>`_ or
23-
another Web search engine. Searching for "Python" plus a keyword or two for
23+
another web search engine. Searching for "Python" plus a keyword or two for
2424
your topic of interest will usually find something helpful.
2525

2626

Doc/howto/ipaddress.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ A Note on IP Versions
3232
---------------------
3333

3434
For readers that aren't particularly familiar with IP addressing, it's
35-
important to know that the Internet Protocol is currently in the process
35+
important to know that the internet protocol is currently in the process
3636
of moving from version 4 of the protocol to version 6. This transition is
3737
occurring largely because version 4 of the protocol doesn't provide enough
3838
addresses to handle the needs of the whole world, especially given the

Doc/howto/logging-cookbook.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ Dealing with handlers that block
332332
.. currentmodule:: logging.handlers
333333

334334
Sometimes you have to get your logging handlers to do their work without
335-
blocking the thread you're logging from. This is common in Web applications,
335+
blocking the thread you're logging from. This is common in web applications,
336336
though of course it also occurs in other scenarios.
337337

338338
A common culprit which demonstrates sluggish behaviour is the

Doc/howto/sockets.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ likely to be other forms of IPC that are faster, but for
4545
cross-platform communication, sockets are about the only game in town.
4646

4747
They were invented in Berkeley as part of the BSD flavor of Unix. They spread
48-
like wildfire with the Internet. With good reason --- the combination of sockets
48+
like wildfire with the internet. With good reason --- the combination of sockets
4949
with INET makes talking to arbitrary machines around the world unbelievably easy
5050
(at least compared to other schemes).
5151

Doc/install/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ Borland/CodeGear C++
953953
This subsection describes the necessary steps to use Distutils with the Borland
954954
C++ compiler version 5.5. First you have to know that Borland's object file
955955
format (OMF) is different from the format used by the Python version you can
956-
download from the Python or ActiveState Web site. (Python is built with
956+
download from the Python or ActiveState web site. (Python is built with
957957
Microsoft Visual C++, which uses COFF as the object file format.) For this
958958
reason you have to convert Python's library :file:`python25.lib` into the
959959
Borland format. You can do this as follows:

Doc/library/cgi.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ When you write a new script, consider adding these lines::
7373
cgitb.enable()
7474

7575
This activates a special exception handler that will display detailed reports in
76-
the Web browser if any errors occur. If you'd rather not show the guts of your
76+
the web browser if any errors occur. If you'd rather not show the guts of your
7777
program to users of your script, you can have the reports saved to files
7878
instead, with code like this::
7979

@@ -350,7 +350,7 @@ There's one important rule: if you invoke an external program (via
350350
:func:`os.system`, :func:`os.popen` or other functions with similar
351351
functionality), make very sure you don't pass arbitrary strings received from
352352
the client to the shell. This is a well-known security hole whereby clever
353-
hackers anywhere on the Web can exploit a gullible CGI script to invoke
353+
hackers anywhere on the web can exploit a gullible CGI script to invoke
354354
arbitrary shell commands. Even parts of the URL or field names cannot be
355355
trusted, since the request doesn't have to come from your form!
356356

@@ -457,7 +457,7 @@ likely the traceback will end up in one of the HTTP server's log files, or be
457457
discarded altogether.
458458

459459
Fortunately, once you have managed to get your script to execute *some* code,
460-
you can easily send tracebacks to the Web browser using the :mod:`cgitb` module.
460+
you can easily send tracebacks to the web browser using the :mod:`cgitb` module.
461461
If you haven't done so already, just add the lines::
462462

463463
import cgitb

Doc/library/ftplib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This module defines the class :class:`FTP` and a few related items. The
1717
this to write Python programs that perform a variety of automated FTP jobs, such
1818
as mirroring other FTP servers. It is also used by the module
1919
:mod:`urllib.request` to handle URLs that use FTP. For more information on FTP
20-
(File Transfer Protocol), see Internet :rfc:`959`.
20+
(File Transfer Protocol), see internet :rfc:`959`.
2121

2222
The default encoding is UTF-8, following :rfc:`2640`.
2323

Doc/library/hashlib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
This module implements a common interface to many different secure hash and
2424
message digest algorithms. Included are the FIPS secure hash algorithms SHA1,
2525
SHA224, SHA256, SHA384, and SHA512 (defined in FIPS 180-2) as well as RSA's MD5
26-
algorithm (defined in Internet :rfc:`1321`). The terms "secure hash" and
26+
algorithm (defined in internet :rfc:`1321`). The terms "secure hash" and
2727
"message digest" are interchangeable. Older algorithms were called message
2828
digests. The modern term is secure hash.
2929

0 commit comments

Comments
 (0)