[Python-checkins] Fix some typos in comments (GH-32422)

corona10 webhook-mailer at python.org
Sat Apr 9 05:12:20 EDT 2022


https://github.com/python/cpython/commit/f52d987abfda25e50469c9b6fe1d19f72453d2de
commit: f52d987abfda25e50469c9b6fe1d19f72453d2de
branch: main
author: jonasdlindner <42033762+jonasdlindner at users.noreply.github.com>
committer: corona10 <donghee.na92 at gmail.com>
date: 2022-04-09T18:12:15+09:00
summary:

Fix some typos in comments (GH-32422)

files:
M Python/ceval.c
M configure
M configure.ac
M setup.py

diff --git a/Python/ceval.c b/Python/ceval.c
index cb739c1572d16..f3d1c100d83ae 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -1470,7 +1470,7 @@ eval_frame_handle_pending(PyThreadState *tstate)
 #define TRACE_FUNCTION_UNWIND()  \
     if (cframe.use_tracing) { \
         /* Since we are already unwinding, \
-         * we dont't care if this raises */ \
+         * we don't care if this raises */ \
         trace_function_exit(tstate, frame, NULL); \
     }
 
diff --git a/configure b/configure
index 69b12309de578..96530325f8cb9 100755
--- a/configure
+++ b/configure
@@ -6464,7 +6464,7 @@ $as_echo "$EXPORTSYMS" >&6; }
 # make sure we default having it set to "no": this is used by
 # distutils.unixccompiler to know if it should add --enable-new-dtags
 # to linker command lines, and failing to detect GNU ld simply results
-# in the same bahaviour as before.
+# in the same behaviour as before.
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 $as_echo_n "checking for GNU ld... " >&6; }
diff --git a/configure.ac b/configure.ac
index 5860595b752c8..6a460cd94c243 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1247,7 +1247,7 @@ AC_MSG_RESULT($EXPORTSYMS)
 # make sure we default having it set to "no": this is used by
 # distutils.unixccompiler to know if it should add --enable-new-dtags
 # to linker command lines, and failing to detect GNU ld simply results
-# in the same bahaviour as before.
+# in the same behaviour as before.
 AC_SUBST(GNULD)
 AC_MSG_CHECKING(for GNU ld)
 ac_prog=ld
diff --git a/setup.py b/setup.py
index a1a24ce1551bd..1e1627ec3927d 100644
--- a/setup.py
+++ b/setup.py
@@ -343,7 +343,7 @@ def update_extension_flags(self, ext):
 
         Distutils appends extra args to the compiler arguments. Some flags like
         -I must appear earlier, otherwise the pre-processor picks up files
-        from system inclue directories.
+        from system include directories.
         """
         upper_name = ext.name.upper()
         # Parse compiler flags (-I, -D, -U, extra args)



More information about the Python-checkins mailing list