mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Typo fix (GH-22496)
Multiple typo fixes in code comments Automerge-Triggered-By: @Mariatta
This commit is contained in:
parent
2cc6dc9896
commit
619f98045d
1 changed files with 5 additions and 5 deletions
10
setup.py
10
setup.py
|
@ -1881,9 +1881,9 @@ class PyBuildExt(build_ext):
|
||||||
# you want to build and link with a framework build of Tcl and Tk
|
# you want to build and link with a framework build of Tcl and Tk
|
||||||
# that is not in /Library/Frameworks, say, in your private
|
# that is not in /Library/Frameworks, say, in your private
|
||||||
# $HOME/Library/Frameworks directory or elsewhere. It turns
|
# $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
|
# 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().
|
# to detect_tkinter_explicitly().
|
||||||
#
|
#
|
||||||
# Note also that the fallback case here is to try to use the
|
# Note also that the fallback case here is to try to use the
|
||||||
|
@ -1891,7 +1891,7 @@ class PyBuildExt(build_ext):
|
||||||
# be forewarned that they are deprecated by Apple and typically
|
# be forewarned that they are deprecated by Apple and typically
|
||||||
# out-of-date and buggy; their use should be avoided if at
|
# out-of-date and buggy; their use should be avoided if at
|
||||||
# all possible by installing a newer version of Tcl and Tk in
|
# 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.
|
# an explicit SDK or by configuring build arguments explicitly.
|
||||||
|
|
||||||
from os.path import join, exists
|
from os.path import join, exists
|
||||||
|
@ -1908,7 +1908,7 @@ class PyBuildExt(build_ext):
|
||||||
else:
|
else:
|
||||||
# Use case #1: no explicit SDK selected.
|
# Use case #1: no explicit SDK selected.
|
||||||
# Search the local system-wide /Library/Frameworks,
|
# 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
|
# /System/Library/Frameworks whose header files may be in
|
||||||
# the default SDK or, on older systems, actually installed.
|
# the default SDK or, on older systems, actually installed.
|
||||||
framework_dirs = [
|
framework_dirs = [
|
||||||
|
@ -1924,7 +1924,7 @@ class PyBuildExt(build_ext):
|
||||||
if not exists(join(F, fw + '.framework')):
|
if not exists(join(F, fw + '.framework')):
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
# ok, F is now directory with both frameworks. Continure
|
# ok, F is now directory with both frameworks. Continue
|
||||||
# building
|
# building
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue