Skip to content

Commit 3ab1034

Browse files
authored
Fix grammar issues in several PEPs (#5224)
1 parent e7c5b54 commit 3ab1034

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎peps/pep-0653.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ A match statement performs a sequence of pattern matches. In general, matching a
9898

9999
To determine whether a value can match a particular kind of pattern, we add the ``__match_container__``
100100
and ``__match_class__`` attributes.
101-
This allows the kind of a value to be determined in a efficient fashion.
101+
This allows the kind of a value to be determined in an efficient fashion.
102102

103103
Specification
104104
=============
@@ -216,7 +216,7 @@ translates to::
216216
if $value != LITERAL:
217217
FAIL
218218

219-
except when the literal is one of ``None``, ``True`` or ``False`` ,
219+
except when the literal is one of ``None``, ``True`` or ``False``,
220220
when it translates to::
221221

222222
if $value is not LITERAL:

‎peps/pep-0748.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ substantially more restricted than OpenSSL in many ways, as it has a much more
773773
restricted class of users. One of these substantial restrictions is in
774774
controlling supported cipher suites.
775775

776-
Ciphers in Network Framework are represented by a Objective-C ``uint16_t`` enum.
776+
Ciphers in Network Framework are represented by an Objective-C ``uint16_t`` enum.
777777
This enum has one entry per cipher suite, with no aggregate entries, meaning
778778
that it is not possible to reproduce the meaning of an OpenSSL cipher string
779779
like ``“ECDH+AESGCM”`` without hand-coding which categories each enum member
@@ -842,7 +842,7 @@ ciphers can be enabled or disabled globally with
842842
``SSL_CipherPrefSetDefault(PRInt32 cipher, PRBool enabled)``, and
843843
``SSL_CipherPrefSet(PRFileDesc *fd, PRInt32 cipher, PRBool enabled)`` for a
844844
connection. The cipher ``PRInt32`` number is a signed 32-bit integer that
845-
directly corresponds to an registered IANA id, e.g. ``0x1301`` is
845+
directly corresponds to a registered IANA id, e.g. ``0x1301`` is
846846
``TLS_AES_128_GCM_SHA256``. Contrary to OpenSSL, the preference order of ciphers
847847
is fixed and cannot be modified at runtime.
848848

@@ -1447,7 +1447,7 @@ All of the above assumes that users want to use the module in a secure way.
14471447
Sometimes, users want to do imprudent things like disable certificate validation
14481448
for testing purposes. To this end, we propose a separate ``insecure`` module
14491449
that allows users to do this. This module contains insecure variants of the
1450-
configuration, context, and implementation objects, which allow to disable
1450+
configuration, context, and implementation objects, which allow disabling
14511451
certificate validation as well as the server hostname check.
14521452

14531453
This functionality is placed in a separate module to make it as hard as possible

‎peps/pep-0786.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ Minimal Width Representation Convention
270270
'''''''''''''''''''''''''''''''''''''''
271271

272272
This idea was fiercely entertained only due to its lossless behavior, however it
273-
is a obstacle to ergonomics in every candidate use case. These arguments about
273+
is an obstacle to ergonomics in every candidate use case. These arguments about
274274
the aesthetics of string rendering are not irrational or about personal taste,
275275
but rather they are crucial in how information is communicated to the end user.
276276

0 commit comments

Comments
 (0)