[Python-checkins] Typo fix (GH-22496)

Manan Kumar Garg webhook-mailer at python.org
Sun Oct 4 17:28:59 EDT 2020


https://github.com/python/cpython/commit/619f98045d73859688e5cfdb946d183e6d493a64
commit: 619f98045d73859688e5cfdb946d183e6d493a64
branch: master
author: Manan Kumar Garg <62146744+MananKGarg at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-10-04T14:28:43-07:00
summary:

Typo fix (GH-22496)



Multiple typo fixes in code comments

Automerge-Triggered-By: @Mariatta

files:
M setup.py

diff --git a/setup.py b/setup.py
index 04b1358bc916e..476f8c414978e 100644
--- a/setup.py
+++ b/setup.py
@@ -1881,9 +1881,9 @@ def detect_tkinter_darwin(self):
         # you want to build and link with a framework build of Tcl and Tk
         # that is not in /Library/Frameworks, say, in your private
         # $HOME/Library/Frameworks directory or elsewhere. It turns
-        # out to be difficult to make that work automtically here
+        # out to be difficult to make that work automatically here
         # without bringing into play more tools and magic. That case
-        # can be hamdled using a recipe with the right arguments
+        # can be handled using a recipe with the right arguments
         # to detect_tkinter_explicitly().
         #
         # Note also that the fallback case here is to try to use the
@@ -1891,7 +1891,7 @@ def detect_tkinter_darwin(self):
         # be forewarned that they are deprecated by Apple and typically
         # out-of-date and buggy; their use should be avoided if at
         # all possible by installing a newer version of Tcl and Tk in
-        # /Library/Frameworks before bwfore building Python without
+        # /Library/Frameworks before building Python without
         # an explicit SDK or by configuring build arguments explicitly.
 
         from os.path import join, exists
@@ -1908,7 +1908,7 @@ def detect_tkinter_darwin(self):
         else:
             # Use case #1: no explicit SDK selected.
             # Search the local system-wide /Library/Frameworks,
-            # not the one in the default SDK, othewise fall back to
+            # not the one in the default SDK, otherwise fall back to
             # /System/Library/Frameworks whose header files may be in
             # the default SDK or, on older systems, actually installed.
             framework_dirs = [
@@ -1924,7 +1924,7 @@ def detect_tkinter_darwin(self):
                 if not exists(join(F, fw + '.framework')):
                     break
             else:
-                # ok, F is now directory with both frameworks. Continure
+                # ok, F is now directory with both frameworks. Continue
                 # building
                 break
         else:



More information about the Python-checkins mailing list