Skip to content

Commit

Permalink
Fix typos (python#123775)
Browse files Browse the repository at this point in the history
  • Loading branch information
algonell authored Sep 9, 2024
1 parent df4f0cb commit 9017b95
Show file tree
Hide file tree
Showing 43 changed files with 59 additions and 59 deletions.
2 changes: 1 addition & 1 deletion Android/testbed/app/src/main/c/main_activity.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ JNIEXPORT void JNICALL Java_org_python_testbed_PythonTestRunner_redirectStdioToL
}


// --- Python intialization ----------------------------------------------------
// --- Python initialization ---------------------------------------------------

static PyStatus set_config_string(
JNIEnv *env, PyConfig *config, wchar_t **config_str, jstring value
Expand Down
2 changes: 1 addition & 1 deletion Lib/enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def __setitem__(self, key, value):
# accepts iterable as multiple arguments?
value = t(auto_valued)
except TypeError:
# then pass them in singlely
# then pass them in singly
value = t(*auto_valued)
self._member_names[key] = None
if non_auto_store:
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/decimaltestdata/ddFMA.decTest
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@ ddfma375087 fma 1 12345678 1E-33 -> 12345678.00000001 Inexac
ddfma375088 fma 1 12345678 1E-34 -> 12345678.00000001 Inexact Rounded
ddfma375089 fma 1 12345678 1E-35 -> 12345678.00000001 Inexact Rounded

-- desctructive subtraction (from remainder tests)
-- destructive subtraction (from remainder tests)

-- +++ some of these will be off-by-one remainder vs remainderNear

Expand Down
2 changes: 1 addition & 1 deletion Lib/test/decimaltestdata/ddQuantize.decTest
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ ddqua520 quantize 1.234 1e359 -> 0E+359 Inexact Rounded
ddqua521 quantize 123.456 1e359 -> 0E+359 Inexact Rounded
ddqua522 quantize 1.234 1e359 -> 0E+359 Inexact Rounded
ddqua523 quantize 123.456 1e359 -> 0E+359 Inexact Rounded
-- next four are "won't fit" overfl
-- next four are "won't fit" overflow
ddqua526 quantize 1.234 1e-299 -> NaN Invalid_operation
ddqua527 quantize 123.456 1e-299 -> NaN Invalid_operation
ddqua528 quantize 1.234 1e-299 -> NaN Invalid_operation
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/decimaltestdata/ddRemainder.decTest
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ ddrem757 remainder 1 sNaN -> NaN Invalid_operation
ddrem758 remainder 1000 sNaN -> NaN Invalid_operation
ddrem759 remainder Inf -sNaN -> -NaN Invalid_operation

-- propaging NaNs
-- propagating NaNs
ddrem760 remainder NaN1 NaN7 -> NaN1
ddrem761 remainder sNaN2 NaN8 -> NaN2 Invalid_operation
ddrem762 remainder NaN3 sNaN9 -> NaN9 Invalid_operation
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/decimaltestdata/ddRemainderNear.decTest
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ ddrmn757 remaindernear 1 sNaN -> NaN Invalid_operation
ddrmn758 remaindernear 1000 sNaN -> NaN Invalid_operation
ddrmn759 remaindernear Inf -sNaN -> -NaN Invalid_operation

-- propaging NaNs
-- propagating NaNs
ddrmn760 remaindernear NaN1 NaN7 -> NaN1
ddrmn761 remaindernear sNaN2 NaN8 -> NaN2 Invalid_operation
ddrmn762 remaindernear NaN3 sNaN9 -> NaN9 Invalid_operation
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/decimaltestdata/dqRemainder.decTest
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ dqrem757 remainder 1 sNaN -> NaN Invalid_operation
dqrem758 remainder 1000 sNaN -> NaN Invalid_operation
dqrem759 remainder Inf -sNaN -> -NaN Invalid_operation

-- propaging NaNs
-- propagating NaNs
dqrem760 remainder NaN1 NaN7 -> NaN1
dqrem761 remainder sNaN2 NaN8 -> NaN2 Invalid_operation
dqrem762 remainder NaN3 sNaN9 -> NaN9 Invalid_operation
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/decimaltestdata/dqRemainderNear.decTest
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ dqrmn757 remaindernear 1 sNaN -> NaN Invalid_operation
dqrmn758 remaindernear 1000 sNaN -> NaN Invalid_operation
dqrmn759 remaindernear Inf -sNaN -> -NaN Invalid_operation

-- propaging NaNs
-- propagating NaNs
dqrmn760 remaindernear NaN1 NaN7 -> NaN1
dqrmn761 remaindernear sNaN2 NaN8 -> NaN2 Invalid_operation
dqrmn762 remaindernear NaN3 sNaN9 -> NaN9 Invalid_operation
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/decimaltestdata/exp.decTest
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ rounding: half_even
maxExponent: 384
minexponent: -383

-- basics (examples in specificiation, etc.)
-- basics (examples in specification, etc.)
expx001 exp -Infinity -> 0
expx002 exp -10 -> 0.0000453999298 Inexact Rounded
expx003 exp -1 -> 0.367879441 Inexact Rounded
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/decimaltestdata/remainder.decTest
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ remx757 remainder 1 sNaN -> NaN Invalid_operation
remx758 remainder 1000 sNaN -> NaN Invalid_operation
remx759 remainder Inf -sNaN -> -NaN Invalid_operation

-- propaging NaNs
-- propagating NaNs
remx760 remainder NaN1 NaN7 -> NaN1
remx761 remainder sNaN2 NaN8 -> NaN2 Invalid_operation
remx762 remainder NaN3 sNaN9 -> NaN9 Invalid_operation
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/decimaltestdata/remainderNear.decTest
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ rmnx758 remaindernear 1000 sNaN -> NaN Invalid_operation
rmnx759 remaindernear Inf sNaN -> NaN Invalid_operation
rmnx760 remaindernear NaN sNaN -> NaN Invalid_operation

-- propaging NaNs
-- propagating NaNs
rmnx761 remaindernear NaN1 NaN7 -> NaN1
rmnx762 remaindernear sNaN2 NaN8 -> NaN2 Invalid_operation
rmnx763 remaindernear NaN3 -sNaN9 -> -NaN9 Invalid_operation
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/libregrtest/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def _run_tests(self, selected: TestTuple, tests: TestList | None) -> int:
setup_process()

if (runtests.hunt_refleak is not None) and (not self.num_workers):
# gh-109739: WindowsLoadTracker thread interfers with refleak check
# gh-109739: WindowsLoadTracker thread interferes with refleak check
use_load_tracker = False
else:
# WindowsLoadTracker is only needed on Windows
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/libregrtest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ def cleanup_temp_dir(tmp_dir: StrPath):
# Special Unicode characters
'\uFFFE'
'\uFFFF'
# Match multiple sequential invalid characters for better effiency
# Match multiple sequential invalid characters for better efficiency
']+')

def _sanitize_xml_replace(regs):
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/mathdata/ieee754.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ nan
>>> INF / INF
nan

However unambigous operations with inf return inf:
However unambiguous operations with inf return inf:
>>> INF * INF
inf
>>> 1.5 * INF
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/pickletester.py
Original file line number Diff line number Diff line change
Expand Up @@ -2192,7 +2192,7 @@ def persistent_id(self, obj):
@support.cpython_only
def test_bad_ext_code(self):
# This should never happen in normal circumstances, because the type
# and the value of the extesion code is checked in copyreg.add_extension().
# and the value of the extension code is checked in copyreg.add_extension().
key = (__name__, 'MyList')
def check(code, exc):
assert key not in copyreg._extension_registry
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ class C:
C.a
C.a

# destructor shouldn't be able to see inconsisent state
# destructor shouldn't be able to see inconsistent state
C.a = X()
C.a = X()

Expand Down
4 changes: 2 additions & 2 deletions Lib/test/test_concurrent_futures/test_deadlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def test_exit_at_task_unpickle(self):
self._check_crash(BrokenProcessPool, id, ExitAtUnpickle())

def test_error_at_task_unpickle(self):
# gh-109832: Restore stderr overriden by _raise_error_ignore_stderr()
# gh-109832: Restore stderr overridden by _raise_error_ignore_stderr()
self.addCleanup(setattr, sys, 'stderr', sys.stderr)

# Check problem occurring while unpickling a task on workers
Expand Down Expand Up @@ -183,7 +183,7 @@ def test_error_during_result_pickle_on_worker(self):
self._check_crash(PicklingError, _return_instance, ErrorAtPickle)

def test_error_during_result_unpickle_in_result_handler(self):
# gh-109832: Restore stderr overriden by _raise_error_ignore_stderr()
# gh-109832: Restore stderr overridden by _raise_error_ignore_stderr()
self.addCleanup(setattr, sys, 'stderr', sys.stderr)

# Check problem occurring while unpickling a task in
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -5328,7 +5328,7 @@ def test_convert_value_lookup_priority(self):
filter=lambda x: x.startswith('CONVERT_TEST_'))
# We don't want the reverse lookup value to vary when there are
# multiple possible names for a given value. It should always
# report the first lexigraphical name in that case.
# report the first lexicographical name in that case.
self.assertEqual(test_type(5).name, 'CONVERT_TEST_NAME_A')

def test_convert_int(self):
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_fractions.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def typed_approx_eq(a, b):

class Symbolic:
"""Simple non-numeric class for testing mixed arithmetic.
It is not Integral, Rational, Real or Complex, and cannot be conveted
It is not Integral, Rational, Real or Complex, and cannot be converted
to int, float or complex. but it supports some arithmetic operations.
"""
def __init__(self, value):
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_free_threading/test_monitoring.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Tests monitoring, sys.settrace, and sys.setprofile in a multi-threaded
environmenet to verify things are thread-safe in a free-threaded build"""
environment to verify things are thread-safe in a free-threaded build"""

import sys
import time
Expand Down
4 changes: 2 additions & 2 deletions Lib/test/test_fstring.py
Original file line number Diff line number Diff line change
Expand Up @@ -744,13 +744,13 @@ def test_comments(self):
}''', 'A complex trick: 2')
self.assertEqual(f'''
{
40 # fourty
40 # forty
+ # plus
2 # two
}''', '\n42')
self.assertEqual(f'''
{
40 # fourty
40 # forty
+ # plus
2 # two
}''', '\n42')
Expand Down
4 changes: 2 additions & 2 deletions Lib/test/test_getpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ def test_framework_macos(self):
ns.add_known_dir("/Library/Frameworks/Python.framework/Versions/9.8/lib/python9.8/lib-dynload")
ns.add_known_file("/Library/Frameworks/Python.framework/Versions/9.8/lib/python9.8/os.py")

# This is definitely not the stdlib (see discusion in bpo-46890)
# This is definitely not the stdlib (see discussion in bpo-46890)
#ns.add_known_file("/Library/Frameworks/lib/python98.zip")

expected = dict(
Expand Down Expand Up @@ -605,7 +605,7 @@ def test_alt_framework_macos(self):
ns.add_known_dir("/Library/Frameworks/DebugPython.framework/Versions/9.8/lib/python9.8/lib-dynload")
ns.add_known_xfile("/Library/Frameworks/DebugPython.framework/Versions/9.8/lib/python9.8/os.py")

# This is definitely not the stdlib (see discusion in bpo-46890)
# This is definitely not the stdlib (see discussion in bpo-46890)
#ns.add_known_xfile("/Library/lib/python98.zip")
expected = dict(
executable="/Library/Frameworks/DebugPython.framework/Versions/9.8/bin/python9.8",
Expand Down
18 changes: 9 additions & 9 deletions Lib/test/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -3749,16 +3749,16 @@ def test_baseconfig(self):
'adict': {
'd': 'e', 'f': 3 ,
'alpha numeric 1 with spaces' : 5,
'aplha numeric 1 %( - © ©ß¯' : 9,
'alpha numeric 1 %( - © ©ß¯' : 9,
'alpha numeric ] 1 with spaces' : 15,
'aplha ]] numeric 1 %( - © ©ß¯]' : 19,
' aplha [ numeric 1 %( - © ©ß¯] ' : 11,
' aplha ' : 32,
'alpha ]] numeric 1 %( - © ©ß¯]' : 19,
' alpha [ numeric 1 %( - © ©ß¯] ' : 11,
' alpha ' : 32,
'' : 10,
'nest4' : {
'd': 'e', 'f': 3 ,
'alpha numeric 1 with spaces' : 5,
'aplha numeric 1 %( - © ©ß¯' : 9,
'alpha numeric 1 %( - © ©ß¯' : 9,
'' : 10,
'somelist' : ('g', ('h', 'i'), 'j'),
'somedict' : {
Expand All @@ -3780,14 +3780,14 @@ def test_baseconfig(self):
self.assertEqual(bc.convert('cfg://adict.d'), 'e')
self.assertEqual(bc.convert('cfg://adict[f]'), 3)
self.assertEqual(bc.convert('cfg://adict[alpha numeric 1 with spaces]'), 5)
self.assertEqual(bc.convert('cfg://adict[aplha numeric 1 %( - © ©ß¯]'), 9)
self.assertEqual(bc.convert('cfg://adict[alpha numeric 1 %( - © ©ß¯]'), 9)
self.assertEqual(bc.convert('cfg://adict[]'), 10)
self.assertEqual(bc.convert('cfg://adict.nest4.d'), 'e')
self.assertEqual(bc.convert('cfg://adict.nest4[d]'), 'e')
self.assertEqual(bc.convert('cfg://adict[nest4].d'), 'e')
self.assertEqual(bc.convert('cfg://adict[nest4][f]'), 3)
self.assertEqual(bc.convert('cfg://adict[nest4][alpha numeric 1 with spaces]'), 5)
self.assertEqual(bc.convert('cfg://adict[nest4][aplha numeric 1 %( - © ©ß¯]'), 9)
self.assertEqual(bc.convert('cfg://adict[nest4][alpha numeric 1 %( - © ©ß¯]'), 9)
self.assertEqual(bc.convert('cfg://adict[nest4][]'), 10)
self.assertEqual(bc.convert('cfg://adict[nest4][somelist][0]'), 'g')
self.assertEqual(bc.convert('cfg://adict[nest4][somelist][1][0]'), 'h')
Expand All @@ -3807,8 +3807,8 @@ def test_baseconfig(self):
self.assertRaises(ValueError, bc.convert, 'cfg://!')
self.assertRaises(KeyError, bc.convert, 'cfg://adict[2]')
self.assertRaises(KeyError, bc.convert, 'cfg://adict[alpha numeric ] 1 with spaces]')
self.assertRaises(ValueError, bc.convert, 'cfg://adict[ aplha ]] numeric 1 %( - © ©ß¯] ]')
self.assertRaises(ValueError, bc.convert, 'cfg://adict[ aplha [ numeric 1 %( - © ©ß¯] ]')
self.assertRaises(ValueError, bc.convert, 'cfg://adict[ alpha ]] numeric 1 %( - © ©ß¯] ]')
self.assertRaises(ValueError, bc.convert, 'cfg://adict[ alpha [ numeric 1 %( - © ©ß¯] ]')

def test_namedtuple(self):
# see bpo-39142
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_math.py
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,7 @@ def __repr__(self):
return f'Flt({int(self)})'

def baseline_sumprod(p, q):
"""This defines the target behavior including expections and special values.
"""This defines the target behavior including exceptions and special values.
However, it is subject to rounding errors, so float inputs should be exactly
representable with only a few bits.
"""
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_msvcrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class TestConsoleIO(unittest.TestCase):
# CREATE_NEW_CONSOLE creates a "popup" window.
@requires_resource('gui')
def run_in_separated_process(self, code):
# Run test in a seprated process to avoid stdin conflicts.
# Run test in a separated process to avoid stdin conflicts.
# See: gh-110147
cmd = [sys.executable, '-c', code]
subprocess.run(cmd, check=True, capture_output=True,
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_posix.py
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ def test_sched_priority(self):
self.assertIsInstance(lo, int)
self.assertIsInstance(hi, int)
self.assertGreaterEqual(hi, lo)
# Apple plaforms return 15 without checking the argument.
# Apple platforms return 15 without checking the argument.
if not is_apple:
self.assertRaises(OSError, posix.sched_get_priority_min, -23)
self.assertRaises(OSError, posix.sched_get_priority_max, -23)
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_property.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def getter3(self):
self.assertEqual(p2.__doc__, "doc-A")

# Case-3: with no user-provided doc new getter doc
# takes precendence
# takes precedence
p = property(getter2, None, None, None)

p2 = p.getter(getter3)
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def _shutdown_get(self, immediate):
else:
thrds = (
# on shutdown(immediate=False)
# one of these threads shoud raise Shutdown
# one of these threads should raise Shutdown
(self._get, (q, go, results)),
(self._get, (q, go, results)),
(self._get, (q, go, results)),
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_re.py
Original file line number Diff line number Diff line change
Expand Up @@ -2503,7 +2503,7 @@ def test_fail(self):
self.assertEqual(re.search(r'12(?!)|3', '123')[0], '3')

def test_character_set_any(self):
# The union of complementary character sets mathes any character
# The union of complementary character sets matches any character
# and is equivalent to "(?s:.)".
s = '1x\n'
for p in r'[\s\S]', r'[\d\D]', r'[\w\W]', r'[\S\s]', r'\s|\S':
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -1669,7 +1669,7 @@ def test_getaddrinfo_int_port_overflow(self):
try:
socket.getaddrinfo(None, ULONG_MAX + 1, type=socket.SOCK_STREAM)
except OverflowError:
# Platforms differ as to what values consitute a getaddrinfo() error
# Platforms differ as to what values constitute a getaddrinfo() error
# return. Some fail for LONG_MAX+1, others ULONG_MAX+1, and Windows
# silently accepts such huge "port" aka "service" numeric values.
self.fail("Either no error or socket.gaierror expected.")
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_string_literals.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def test_eval_str_invalid_escape(self):
self.assertEqual(exc.lineno, 1)
self.assertEqual(exc.offset, 1)

# Check that the warning is raised ony once if there are syntax errors
# Check that the warning is raised only once if there are syntax errors

with warnings.catch_warnings(record=True) as w:
warnings.simplefilter('always', category=SyntaxWarning)
Expand Down
4 changes: 2 additions & 2 deletions Lib/test/test_zipfile/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ def test_force_zip64(self):
# Because this is hard to verify by parsing the data as a zip, the raw
# bytes are checked to ensure that they line up with the zip spec.
# The spec for this can be found at: https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT
# The relevent sections for this test are:
# The relevant sections for this test are:
# - 4.3.7 for local file header
# - 4.5.3 for zip64 extra field

Expand Down Expand Up @@ -1187,7 +1187,7 @@ def test_unseekable_zip_known_filesize(self):
# in as a zip, this test looks at the raw bytes created to ensure that
# the correct data has been generated.
# The spec for this can be found at: https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT
# The relevent sections for this test are:
# The relevant sections for this test are:
# - 4.3.7 for local file header
# - 4.3.9 for the data descriptor
# - 4.5.3 for zip64 extra field
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_zipimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ def testZip64LargeFile(self):
"to run"
)

# N.B.: We do alot of gymnastics below in the ZIP_STORED case to save
# N.B.: We do a lot of gymnastics below in the ZIP_STORED case to save
# and reconstruct a sparse zip on systems that support sparse files.
# Instead of creating a ~8GB zip file mainly consisting of null bytes
# for every run of the test, we create the zip once and save off the
Expand Down
2 changes: 1 addition & 1 deletion Lib/turtledemo/sorting_animate.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Sorts a shelf of 10 blocks using insertion
sort, selection sort and quicksort.
Shelfs are implemented using builtin lists.
Shelves are implemented using builtin lists.
Blocks are turtles with shape "square", but
stretched to rectangles by shapesize()
Expand Down
2 changes: 1 addition & 1 deletion Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK): \
$(LN) -fsn Versions/Current/$(PYTHONFRAMEWORK) $(PYTHONFRAMEWORKDIR)/$(PYTHONFRAMEWORK)
$(LN) -fsn Versions/Current/Resources $(PYTHONFRAMEWORKDIR)/Resources

# This rule is for iOS, which requires an annoyingly just slighly different
# This rule is for iOS, which requires an annoyingly just slightly different
# format for frameworks to macOS. It *doesn't* use a versioned framework, and
# the Info.plist must be in the root of the framework.
$(PYTHONFRAMEWORKDIR)/$(PYTHONFRAMEWORK): \
Expand Down
2 changes: 1 addition & 1 deletion Misc/coverity_model.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ PyObject *PyLong_FromSsize_t(Py_ssize_t ival)

/* tainted sinks
*
* Coverity considers argv, environ, read() data etc as tained.
* Coverity considers argv, environ, read() data etc as tainted.
*/

PyObject *PyErr_SetFromErrnoWithFilename(PyObject *exc, const char *filename)
Expand Down
Loading

0 comments on commit 9017b95

Please sign in to comment.