summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorŁukasz Langa <lukasz@langa.pl>2021-09-22 17:32:04 +0200
committerGitHub <noreply@github.com>2021-09-22 17:32:04 +0200
commit5482db5800d195d43d1e13e8c05e21c708dcfa50 (patch)
tree13bc31769af0ad38c3c19396563cf3163dd1813f /Doc
parent09390c837a0bf73e213db2fbde34d756fa77a837 (diff)
downloadcpython-git-5482db5800d195d43d1e13e8c05e21c708dcfa50.tar.gz
[3.9] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28512)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>. (cherry picked from commit 8f943ca25732d548cf9f0b0393ba8d582fb93e29) Co-authored-by: Mohamad Mansour <66031317+mohamadmansourX@users.noreply.github.com>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/cgi.rst2
-rw-r--r--Doc/library/logging.config.rst2
-rw-r--r--Doc/library/urllib.request.rst2
-rw-r--r--Doc/reference/compound_stmts.rst1
4 files changed, 3 insertions, 4 deletions
diff --git a/Doc/library/cgi.rst b/Doc/library/cgi.rst
index 0c985c0704..3ec919e9cc 100644
--- a/Doc/library/cgi.rst
+++ b/Doc/library/cgi.rst
@@ -89,7 +89,7 @@ To get at submitted form data, use the :class:`FieldStorage` class. If the form
contains non-ASCII characters, use the *encoding* keyword parameter set to the
value of the encoding defined for the document. It is usually contained in the
META tag in the HEAD section of the HTML document or by the
-:mailheader:`Content-Type` header). This reads the form contents from the
+:mailheader:`Content-Type` header. This reads the form contents from the
standard input or the environment (depending on the value of various
environment variables set according to the CGI standard). Since it may consume
standard input, it should be instantiated only once.
diff --git a/Doc/library/logging.config.rst b/Doc/library/logging.config.rst
index ab44850549..d4dc585351 100644
--- a/Doc/library/logging.config.rst
+++ b/Doc/library/logging.config.rst
@@ -163,7 +163,7 @@ in :mod:`logging` itself) and defining handlers which are declared either in
:func:`listen` socket and sending a configuration which runs whatever
code the attacker wants to have executed in the victim's process. This is
especially easy to do if the default port is used, but not hard even if a
- different port is used). To avoid the risk of this happening, use the
+ different port is used. To avoid the risk of this happening, use the
``verify`` argument to :func:`listen` to prevent unrecognised
configurations from being applied.
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index 785ecf8faf..d3d1517f83 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -650,7 +650,7 @@ OpenerDirector Objects
optional *timeout* parameter specifies a timeout in seconds for blocking
operations like the connection attempt (if not specified, the global default
timeout setting will be used). The timeout feature actually works only for
- HTTP, HTTPS and FTP connections).
+ HTTP, HTTPS and FTP connections.
.. method:: OpenerDirector.error(proto, *args)
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index 75424162a4..0bc1e24437 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -479,7 +479,6 @@ is semantically equivalent to::
The specification, background, and examples for the Python :keyword:`with`
statement.
-
.. index::
single: parameter; function definition