Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions peps/pep-0653.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ A match statement performs a sequence of pattern matches. In general, matching a

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

Specification
=============
Expand Down Expand Up @@ -216,7 +216,7 @@ translates to::
if $value != LITERAL:
FAIL

except when the literal is one of ``None``, ``True`` or ``False`` ,
except when the literal is one of ``None``, ``True`` or ``False``,
when it translates to::

if $value is not LITERAL:
Expand Down
6 changes: 3 additions & 3 deletions peps/pep-0748.rst
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ substantially more restricted than OpenSSL in many ways, as it has a much more
restricted class of users. One of these substantial restrictions is in
controlling supported cipher suites.

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

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

This functionality is placed in a separate module to make it as hard as possible
Expand Down
2 changes: 1 addition & 1 deletion peps/pep-0786.rst
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ Minimal Width Representation Convention
'''''''''''''''''''''''''''''''''''''''

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

Expand Down
Loading