Fix typos in comments

This commit is contained in:
co63oc 2025-03-08 16:44:15 +08:00 committed by Dylan Baker
parent 2afe0a4475
commit 9c125a26db
3 changed files with 3 additions and 3 deletions

View File

@ -1792,7 +1792,7 @@ class XCodeBackend(backends.Backend):
header_arr = PbxArray()
for i in header_dirs:
np = os.path.normpath(i)
# Make sure Xcode will not split single path into separate entries, escaping space with a slash is not enought
# Make sure Xcode will not split single path into separate entries, escaping space with a slash is not enough
item = f'"\\\"{np}\\\""' if ' ' in np else f'"{np}"'
header_arr.add_item(item)
return header_arr

View File

@ -1102,7 +1102,7 @@ class Parser:
e.ast = block
raise
# Remaining whitespaces will not be catched since there are no more nodes
# Remaining whitespaces will not be caught since there are no more nodes
for ws_token in self.current_ws:
block.append_whitespaces(ws_token)
self.current_ws = []

View File

@ -100,7 +100,7 @@ if sys.version_info >= (3, 2):
except Exception:
pass
# pypy supports modules targetting the limited api but
# pypy supports modules targeting the limited api but
# does not use a special suffix to distinguish them:
# https://doc.pypy.org/en/latest/cpython_differences.html#permitted-abi-tags-in-extensions
if is_pypy: