diff options
author | Stéphane Wirtel <stephane@wirtel.be> | 2018-10-06 14:35:53 (GMT) |
---|---|---|
committer | Julien Palard <julien@palard.fr> | 2018-10-06 14:35:53 (GMT) |
commit | 683281f536981da395575b5a07d6761118259fd2 (patch) | |
tree | a74a3846a6b688094f8faed929d179de1a35e0a0 /Doc/whatsnew | |
parent | ae62f015240c9162773341a9922794e6b960779d (diff) | |
download | cpython-683281f536981da395575b5a07d6761118259fd2.zip cpython-683281f536981da395575b5a07d6761118259fd2.tar.gz cpython-683281f536981da395575b5a07d6761118259fd2.tar.bz2 |
bpo-34906: Doc: Fix typos (2) (GH-9735)
Fix typos
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.3.rst | 4 | ||||
-rw-r--r-- | Doc/whatsnew/3.5.rst | 2 | ||||
-rw-r--r-- | Doc/whatsnew/3.7.rst | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 0575ac9..8862b37 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -303,7 +303,7 @@ The launcher can also be used explicitly from the command line as the ``py`` application. Running ``py`` follows the same version selection rules as implicitly launching scripts, but a more specific version can be selected by passing appropriate arguments (such as ``-3`` to request Python 3 when -Python 2 is also installed, or ``-2.6`` to specifclly request an earlier +Python 2 is also installed, or ``-2.6`` to specifically request an earlier Python version when a more recent version is installed). In addition to the launcher, the Windows installer now includes an @@ -2386,7 +2386,7 @@ Porting Python code finder, you will need to remove keys paired with values of ``None`` **and** :class:`imp.NullImporter` to be backwards-compatible. This will lead to extra overhead on older versions of Python that re-insert ``None`` into - :attr:`sys.path_importer_cache` where it repesents the use of implicit + :attr:`sys.path_importer_cache` where it represents the use of implicit finders, but semantically it should not change anything. * :class:`importlib.abc.Finder` no longer specifies a `find_module()` abstract diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index d3aed84..4eddf84 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -2471,7 +2471,7 @@ Changes in the Python API parameter to help control the ``opt-`` tag. Because of this, the *debug_override* parameter of the function is now deprecated. `.pyo` files are also no longer supported as a file argument to the Python interpreter and - thus serve no purpose when distributed on their own (i.e. sourcless code + thus serve no purpose when distributed on their own (i.e. sourceless code distribution). Due to the fact that the magic number for bytecode has changed in Python 3.5, all old `.pyo` files from previous versions of Python are invalid regardless of this PEP. diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst index 3270459..ea460b7 100644 --- a/Doc/whatsnew/3.7.rst +++ b/Doc/whatsnew/3.7.rst @@ -1355,7 +1355,7 @@ feature. Instances must be created with :class:`~ssl.SSLContext` methods OpenSSL 1.1 APIs for setting the minimum and maximum TLS protocol version are available as :attr:`SSLContext.minimum_version <ssl.SSLContext.minimum_version>` and :attr:`SSLContext.maximum_version <ssl.SSLContext.maximum_version>`. -Supported protocols are indicated by serveral new flags, such as +Supported protocols are indicated by several new flags, such as :data:`~ssl.HAS_TLSv1_1`. (Contributed by Christian Heimes in :issue:`32609`.) @@ -2023,7 +2023,7 @@ Use :mod:`threading` instead. socket ------ -The silent argument value trunctation in :func:`socket.htons` and +The silent argument value truncation in :func:`socket.htons` and :func:`socket.ntohs` has been deprecated. In future versions of Python, if the passed argument is larger than 16 bits, an exception will be raised. (Contributed by Oren Milman in :issue:`28332`.) |