From 536bc8a806008fff4880ad11ddc189e4847d0255 Mon Sep 17 00:00:00 2001 From: Xie Yanbo Date: Tue, 24 Sep 2024 14:19:25 +0800 Subject: [PATCH] Fix typos (#124409) --- .../2024-08-23-11-26-54.gh-issue-122298.ZMyln4.rst | 2 +- .../next/Library/2024-08-22-09-37-48.gh-issue-123213.owmXnP.rst | 2 +- .../next/Library/2024-09-13-10-34-19.gh-issue-123934.yMe7mL.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 e7645bfc5f323d..722f69616b6b1b 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 6bbd194b916ec4..5a31a00f2758f4 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 cec7741bcabbda..641c21331e3e54 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.