diff --git a/peps/pep-0653.rst b/peps/pep-0653.rst index 567c8c8a1f2..5694cbdaa6e 100644 --- a/peps/pep-0653.rst +++ b/peps/pep-0653.rst @@ -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 ============= @@ -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: diff --git a/peps/pep-0748.rst b/peps/pep-0748.rst index 333c24fe432..323b84c850a 100644 --- a/peps/pep-0748.rst +++ b/peps/pep-0748.rst @@ -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 @@ -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. @@ -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 diff --git a/peps/pep-0786.rst b/peps/pep-0786.rst index 24a08e1ce71..2989aebf550 100644 --- a/peps/pep-0786.rst +++ b/peps/pep-0786.rst @@ -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.