]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Fix misspellings in sysconfig docs (GH-108156) (#108157)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 20 Aug 2023 13:48:46 +0000 (06:48 -0700)
committerGitHub <noreply@github.com>
Sun, 20 Aug 2023 13:48:46 +0000 (15:48 +0200)
Fix misspellings in sysconfig docs (GH-108156)
(cherry picked from commit 1dc0c58d2b17819720d184ec0287a8a9b1dc347e)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
Doc/library/sysconfig.rst

index c805c50ffc689f258c1c41765a036845f6e596f6..26344ea4e7e2ab9721e0528f3c265d7ee2338a17 100644 (file)
@@ -84,13 +84,13 @@ Python currently supports nine schemes:
   through Distutils and the *user* option is used.  This scheme defines paths
   located under the user home directory.
 - *posix_venv*: scheme for :mod:`Python virtual environments <venv>` on POSIX
-  platforms; by default it is the same as *posix_prefix* .
+  platforms; by default it is the same as *posix_prefix*.
 - *nt*: scheme for NT platforms like Windows.
 - *nt_user*: scheme for NT platforms, when the *user* option is used.
 - *nt_venv*: scheme for :mod:`Python virtual environments <venv>` on NT
-  platforms; by default it is the same as *nt* .
-- *venv*: a scheme with values from ether *posix_venv* or *nt_venv* depending
-  on the platform Python runs on
+  platforms; by default it is the same as *nt*.
+- *venv*: a scheme with values from either *posix_venv* or *nt_venv* depending
+  on the platform Python runs on.
 - *osx_framework_user*: scheme for macOS, when the *user* option is used.
 
 Each scheme is itself composed of a series of paths and each path has a unique
@@ -187,7 +187,7 @@ identifier.  Python currently uses eight paths:
    platform is used.
 
    If *vars* is provided, it must be a dictionary of variables that will update
-   the dictionary return by :func:`get_config_vars`.
+   the dictionary returned by :func:`get_config_vars`.
 
    If *expand* is set to ``False``, the path will not be expanded using the
    variables.