summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/howto/isolating-extensions.rst2
-rw-r--r--Doc/library/threading.rst2
-rw-r--r--Doc/using/configure.rst2
-rw-r--r--Include/internal/pycore_freelist_state.h2
-rw-r--r--Lib/test/test_webbrowser.py2
-rw-r--r--Python/crossinterp.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/Doc/howto/isolating-extensions.rst b/Doc/howto/isolating-extensions.rst
index e35855d..a636e06 100644
--- a/Doc/howto/isolating-extensions.rst
+++ b/Doc/howto/isolating-extensions.rst
@@ -339,7 +339,7 @@ That is, heap types should:
- Define a traverse function using ``Py_tp_traverse``, which
visits the type (e.g. using ``Py_VISIT(Py_TYPE(self))``).
-Please refer to the the documentation of
+Please refer to the documentation of
:c:macro:`Py_TPFLAGS_HAVE_GC` and :c:member:`~PyTypeObject.tp_traverse`
for additional considerations.
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
index 49c2b9b..cb82fea 100644
--- a/Doc/library/threading.rst
+++ b/Doc/library/threading.rst
@@ -1018,7 +1018,7 @@ method. The :meth:`~Event.wait` method blocks until the flag is true.
has not expired. The return value represents the
reason that this blocking method returned; ``True`` if returning because
the internal flag is set to true, or ``False`` if a timeout is given and
- the the internal flag did not become true within the given wait time.
+ the internal flag did not become true within the given wait time.
When the timeout argument is present and not ``None``, it should be a
floating-point number specifying a timeout for the operation in seconds,
diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst
index 32adfb0..6a4a52b 100644
--- a/Doc/using/configure.rst
+++ b/Doc/using/configure.rst
@@ -1120,7 +1120,7 @@ Remove built files.
make distclean
^^^^^^^^^^^^^^
-In addition to the the work done by ``make clean``, remove files
+In addition to the work done by ``make clean``, remove files
created by the configure script. ``configure`` will have to be run
before building again. [#]_
diff --git a/Include/internal/pycore_freelist_state.h b/Include/internal/pycore_freelist_state.h
index edf79dd..e8df784 100644
--- a/Include/internal/pycore_freelist_state.h
+++ b/Include/internal/pycore_freelist_state.h
@@ -28,7 +28,7 @@ extern "C" {
// A generic freelist of either PyObjects or other data structures.
struct _Py_freelist {
- // Entries are linked together using the first word of the the object.
+ // Entries are linked together using the first word of the object.
// For PyObjects, this overlaps with the `ob_refcnt` field or the `ob_tid`
// field.
void *freelist;
diff --git a/Lib/test/test_webbrowser.py b/Lib/test/test_webbrowser.py
index ae8d776..4fcbc5c 100644
--- a/Lib/test/test_webbrowser.py
+++ b/Lib/test/test_webbrowser.py
@@ -244,7 +244,7 @@ class IOSBrowserTest(unittest.TestCase):
@unittest.skipIf(getattr(webbrowser, "objc", None) is None,
"iOS Webbrowser tests require ctypes")
def setUp(self):
- # Intercept the the objc library. Wrap the calls to get the
+ # Intercept the objc library. Wrap the calls to get the
# references to classes and selectors to return strings, and
# wrap msgSend to return stringified object references
self.orig_objc = webbrowser.objc
diff --git a/Python/crossinterp.c b/Python/crossinterp.c
index acb372a..0aca322 100644
--- a/Python/crossinterp.c
+++ b/Python/crossinterp.c
@@ -699,7 +699,7 @@ _PyXI_excinfo_InitFromException(_PyXI_excinfo *info, PyObject *exc)
Py_DECREF(tbexc);
if (info->errdisplay == NULL) {
#ifdef Py_DEBUG
- PyErr_FormatUnraisable("Exception ignored while formating TracebackException");
+ PyErr_FormatUnraisable("Exception ignored while formatting TracebackException");
#endif
PyErr_Clear();
}