From: Xie Yanbo Date: Tue, 24 Sep 2024 06:19:25 +0000 (+0800) Subject: Fix typos (#124409) X-Git-Tag: v3.14.0a1~382 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=536bc8a806008fff4880ad11ddc189e4847d0255;p=thirdparty%2FPython%2Fcpython.git Fix typos (#124409) --- diff --git a/Misc/NEWS.d/next/Core_and_Builtins/2024-08-23-11-26-54.gh-issue-122298.ZMyln4.rst b/Misc/NEWS.d/next/Core_and_Builtins/2024-08-23-11-26-54.gh-issue-122298.ZMyln4.rst index e7645bfc5f32..722f69616b6b 100644 --- a/Misc/NEWS.d/next/Core_and_Builtins/2024-08-23-11-26-54.gh-issue-122298.ZMyln4.rst +++ b/Misc/NEWS.d/next/Core_and_Builtins/2024-08-23-11-26-54.gh-issue-122298.ZMyln4.rst @@ -1,3 +1,3 @@ Restore printout of GC stats when ``gc.set_debug(gc.DEBUG_STATS)`` is -called. This featue was accidentally removed when implementing incremental +called. This feature was accidentally removed when implementing incremental GC. diff --git a/Misc/NEWS.d/next/Library/2024-08-22-09-37-48.gh-issue-123213.owmXnP.rst b/Misc/NEWS.d/next/Library/2024-08-22-09-37-48.gh-issue-123213.owmXnP.rst index 6bbd194b916e..5a31a00f2758 100644 --- a/Misc/NEWS.d/next/Library/2024-08-22-09-37-48.gh-issue-123213.owmXnP.rst +++ b/Misc/NEWS.d/next/Library/2024-08-22-09-37-48.gh-issue-123213.owmXnP.rst @@ -1,3 +1,3 @@ :meth:`xml.etree.ElementTree.Element.extend` and :class:`~xml.etree.ElementTree.Element` assignment no longer hide the internal -exception if an erronous generator is passed. Patch by Bar Harel. +exception if an erroneous generator is passed. Patch by Bar Harel. diff --git a/Misc/NEWS.d/next/Library/2024-09-13-10-34-19.gh-issue-123934.yMe7mL.rst b/Misc/NEWS.d/next/Library/2024-09-13-10-34-19.gh-issue-123934.yMe7mL.rst index cec7741bcabb..641c21331e3e 100644 --- a/Misc/NEWS.d/next/Library/2024-09-13-10-34-19.gh-issue-123934.yMe7mL.rst +++ b/Misc/NEWS.d/next/Library/2024-09-13-10-34-19.gh-issue-123934.yMe7mL.rst @@ -1,2 +1,2 @@ -Fix :class:`unittest.mock.MagicMock` reseting magic methods return values +Fix :class:`unittest.mock.MagicMock` resetting magic methods return values after ``.reset_mock(return_value=True)`` was called.