pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/cpython/commit/46f5a4f9e1781ad8d60eb53bbaf6cd8534a286cd

5097560d244c08.css" /> Fix typos in docs, error messages and comments (#122502) · python/cpython@46f5a4f · GitHub
Skip to content

Commit 46f5a4f

Browse files
Fix typos in docs, error messages and comments (#122502)
Signed-off-by: jianghuyiyuan <shuangcui@live.com>
1 parent 06656e2 commit 46f5a4f

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Doc/howto/isolating-extensions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ That is, heap types should:
339339
- Define a traverse function using ``Py_tp_traverse``, which
340340
visits the type (e.g. using ``Py_VISIT(Py_TYPE(self))``).
341341

342-
Please refer to the the documentation of
342+
Please refer to the documentation of
343343
:c:macro:`Py_TPFLAGS_HAVE_GC` and :c:member:`~PyTypeObject.tp_traverse`
344344
for additional considerations.
345345

Doc/library/threading.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ method. The :meth:`~Event.wait` method blocks until the flag is true.
10181018
has not expired. The return value represents the
10191019
reason that this blocking method returned; ``True`` if returning because
10201020
the internal flag is set to true, or ``False`` if a timeout is given and
1021-
the the internal flag did not become true within the given wait time.
1021+
the internal flag did not become true within the given wait time.
10221022

10231023
When the timeout argument is present and not ``None``, it should be a
10241024
floating-point number specifying a timeout for the operation in seconds,

Doc/using/configure.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ Remove built files.
11201120
make distclean
11211121
^^^^^^^^^^^^^^
11221122

1123-
In addition to the the work done by ``make clean``, remove files
1123+
In addition to the work done by ``make clean``, remove files
11241124
created by the configure script. ``configure`` will have to be run
11251125
before building again. [#]_
11261126

Include/internal/pycore_freelist_state.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ extern "C" {
2828

2929
// A generic freelist of either PyObjects or other data structures.
3030
struct _Py_freelist {
31-
// Entries are linked together using the first word of the the object.
31+
// Entries are linked together using the first word of the object.
3232
// For PyObjects, this overlaps with the `ob_refcnt` field or the `ob_tid`
3333
// field.
3434
void *freelist;

Lib/test/test_webbrowser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def _obj_ref(self, *args):
244244
@unittest.skipIf(getattr(webbrowser, "objc", None) is None,
245245
"iOS Webbrowser tests require ctypes")
246246
def setUp(self):
247-
# Intercept the the objc library. Wrap the calls to get the
247+
# Intercept the objc library. Wrap the calls to get the
248248
# references to classes and selectors to return strings, and
249249
# wrap msgSend to return stringified object references
250250
self.orig_objc = webbrowser.objc

Python/crossinterp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ _PyXI_excinfo_InitFromException(_PyXI_excinfo *info, PyObject *exc)
699699
Py_DECREF(tbexc);
700700
if (info->errdisplay == NULL) {
701701
#ifdef Py_DEBUG
702-
PyErr_FormatUnraisable("Exception ignored while formating TracebackException");
702+
PyErr_FormatUnraisable("Exception ignored while formatting TracebackException");
703703
#endif
704704
PyErr_Clear();
705705
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy