Skip to content

Commit 96a5a0b

Browse files
done
1 parent 0fa7fec commit 96a5a0b

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Python/remote_debug.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,7 @@ _Py_RemoteDebug_PagedReadRemoteMemory(proc_handle_t *handle,
11191119
}
11201120

11211121
if (_Py_RemoteDebug_ReadRemoteMemory(handle, page_base, page_size, entry->data) < 0) {
1122-
// Try to just copy the exact ammount as a fallback
1122+
// Try to just copy the exact amount as a fallback
11231123
PyErr_Clear();
11241124
goto fallback;
11251125
}

Python/specialize.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2544,7 +2544,7 @@ static _PyBinaryOpSpecializationDescr binaryop_extend_descrs[] = {
25442544
{NB_INPLACE_AND, compactlongs_guard, compactlongs_and},
25452545
{NB_INPLACE_XOR, compactlongs_guard, compactlongs_xor},
25462546

2547-
/* float-long arithemetic */
2547+
/* float-long arithmetic */
25482548
{NB_ADD, float_compactlong_guard, float_compactlong_add},
25492549
{NB_SUBTRACT, float_compactlong_guard, float_compactlong_subtract},
25502550
{NB_TRUE_DIVIDE, nonzero_float_compactlong_guard, float_compactlong_true_div},

Tools/build/generate-build-details.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def make_paths_relative(data: dict[str, Any], config_path: str | None = None) ->
155155
continue
156156
# Get the relative path
157157
new_path = os.path.relpath(current_path, data['base_prefix'])
158-
# Join '.' so that the path is formated as './path' instead of 'path'
158+
# Join '.' so that the path is formatted as './path' instead of 'path'
159159
new_path = os.path.join('.', new_path)
160160
container[child] = new_path
161161

Tools/cases_generator/tier1_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def generate_tier1_labels(
201201
analysis: Analysis, emitter: Emitter
202202
) -> None:
203203
emitter.emit("\n")
204-
# Emit tail-callable labels as function defintions
204+
# Emit tail-callable labels as function definitions
205205
for name, label in analysis.labels.items():
206206
emitter.emit(f"LABEL({name})\n")
207207
storage = Storage(Stack(), [], [], 0, False)

Tools/peg_generator/pegen/grammar_visualizer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ def print_nodes_recursively(self, node: Rule, prefix: str = "", istail: bool = T
3333
value = self.name(node)
3434

3535
line = prefix + ("└──" if istail else "├──") + value + "\n"
36-
sufix = " " if istail else "│ "
36+
suffix = " " if istail else "│ "
3737

3838
if not children:
3939
return line
4040

4141
*children, last = children
4242
for child in children:
43-
line += self.print_nodes_recursively(child, prefix + sufix, False)
44-
line += self.print_nodes_recursively(last, prefix + sufix, True)
43+
line += self.print_nodes_recursively(child, prefix + suffix, False)
44+
line += self.print_nodes_recursively(last, prefix + suffix, True)
4545

4646
return line
4747

0 commit comments

Comments
 (0)