]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.8] bpo-39136: Fixed typos (GH-17720)
authorTerry Jan Reedy <tjreedy@udel.edu>
Sun, 29 Dec 2019 00:05:15 +0000 (19:05 -0500)
committerGitHub <noreply@github.com>
Sun, 29 Dec 2019 00:05:15 +0000 (19:05 -0500)
funtion -> function; configuraton -> configuration; defintitions -> definitions;
focusses -> focuses; necesarily -> necessarily; follwing -> following;
Excape -> Escape,

(cherry picked from commit 6c7bb38ff2799ac218e6df598b2b262f89e2bc1e)

Doc/c-api/init.rst
Doc/c-api/init_config.rst
Doc/faq/programming.rst
Lib/idlelib/NEWS.txt
Lib/tkinter/tix.py

index 155edba82f96dfec97ae4c47fe5189f6d128cef2..81cb4f825fee7ac19cf7aa3b04fbce8431ad8c82 100644 (file)
@@ -1181,7 +1181,7 @@ It is usually the only Python interpreter in a process.  Unlike sub-interpreters
 the main interpreter has unique process-global responsibilities like signal
 handling.  It is also responsible for execution during runtime initialization and
 is usually the active interpreter during runtime finalization.  The
-:c:func:`PyInterpreterState_Main` funtion returns a pointer to its state.
+:c:func:`PyInterpreterState_Main` function returns a pointer to its state.
 
 You can switch between sub-interpreters using the :c:func:`PyThreadState_Swap`
 function. You can create and destroy them using the following functions:
index 6b16b5bb72859a507e18ab4c5d31353310ef1c7f..79a8815ed4199dc68457fe2c4731d0e4102804b0 100644 (file)
@@ -757,7 +757,7 @@ configuration, and then override some parameters::
         PyConfig config;
         PyConfig_InitPythonConfig(&config);
 
-        /* Set the program name before reading the configuraton
+        /* Set the program name before reading the configuration
            (decode byte string from the locale encoding).
 
            Implicitly preinitialize Python. */
index 9d45765abaacf2ee8cffdb8fbd43db58592a1be6..70b11d6e93056fdcbad892efefa81ee11284aa84 100644 (file)
@@ -1019,7 +1019,7 @@ That's a tough one, in general.  First, here are a list of things to
 remember before diving further:
 
 * Performance characteristics vary across Python implementations.  This FAQ
-  focusses on :term:`CPython`.
+  focuses on :term:`CPython`.
 * Behaviour can vary across operating systems, especially when talking about
   I/O or multi-threading.
 * You should always find the hot spots in your program *before* attempting to
index e829bc910ea877f3c788ffd9adb1a8f65feaee9c..0baec813b044d1a5dde5518a5d382deff936a0db 100644 (file)
@@ -6,7 +6,7 @@ Released on 2019-12-16?
 bpo-38943: Fix autocomplete windows not always appearing on some
 systems.  Patch by Johnny Najera.
 
-bpo-38944: Excape key now closes IDLE completion windows.  Patch by
+bpo-38944: Escape key now closes IDLE completion windows.  Patch by
 Johnny Najera.
 
 bpo-38862: 'Strip Trailing Whitespace' on the Format menu removes extra
index d9c097a77cdd186dec775405c1b36d7b6ee64766..ac545502e45c30b22395de366f2f18e0f8f614b5 100644 (file)
@@ -1890,7 +1890,7 @@ class Grid(TixWidget, XView, YView):
         containing the current size setting of the given column.  When
         option-value pairs are given, the corresponding options of the
         size setting of the given column are changed. Options may be one
-        of the follwing:
+        of the following:
               pad0 pixels
                      Specifies the paddings to the left of a column.
               pad1 pixels
@@ -1915,7 +1915,7 @@ class Grid(TixWidget, XView, YView):
         When no option-value pair is given, this command returns a list con-
         taining the current size setting of the given row . When option-value
         pairs are given, the corresponding options of the size setting of the
-        given row are changed. Options may be one of the follwing:
+        given row are changed. Options may be one of the following:
               pad0 pixels
                      Specifies the paddings to the top of a row.
               pad1 pixels