summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-07 00:55:27 +0200
committerGitHub <noreply@github.com>2021-10-06 15:55:27 -0700
commitdb693df3e112c5a61f2cbef63eedce3a36520ded (patch)
tree9d9fde2302ea951001e2d7eed67e2648f1457208 /Python/pythonrun.c
parent6c942a86a4fb4c8b731cb1bd2933dba554eb79cd (diff)
downloadcpython-git-db693df3e112c5a61f2cbef63eedce3a36520ded.tar.gz
Fix typos in the Python directory (GH-28767)
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 0e0262c0e8..6cecef9793 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -2,7 +2,7 @@
/* Top level execution of Python code (including in __main__) */
/* To help control the interfaces between the startup, execution and
- * shutdown code, the phases are split across separate modules (boostrap,
+ * shutdown code, the phases are split across separate modules (bootstrap,
* pythonrun, shutdown)
*/
@@ -943,7 +943,7 @@ print_exception(PyObject *f, PyObject *value)
if (end_lineno > lineno) {
end_offset = (error_line != NULL) ? line_size : -1;
}
- // Limit the ammount of '^' that we can display to
+ // Limit the amount of '^' that we can display to
// the size of the text in the source line.
if (error_line != NULL && end_offset > line_size + 1) {
end_offset = line_size + 1;