From 7a239e55924cbfcf65b666558519fdc79c259f1d Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Tue, 8 Jul 2025 14:25:13 +0800 Subject: [PATCH] gh-101100: Fix sphinx warnings in `whatsnew/3.11.rst` (GH-136402) (cherry picked from commit 5b78c85fb4cde94bb2637f683025ff71af76d48a) Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com> --- Doc/tools/.nitignore | 1 - Doc/whatsnew/3.11.rst | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Doc/tools/.nitignore b/Doc/tools/.nitignore index 98d0336fe3de42..703330677b03a4 100644 --- a/Doc/tools/.nitignore +++ b/Doc/tools/.nitignore @@ -74,4 +74,3 @@ Doc/whatsnew/3.6.rst Doc/whatsnew/3.7.rst Doc/whatsnew/3.8.rst Doc/whatsnew/3.10.rst -Doc/whatsnew/3.11.rst diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index d59f24406c9483..8d973933e80107 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -1292,7 +1292,7 @@ This section covers specific optimizations independent of the (Contributed by Stefan Behnel in :gh:`68264`.) * Resizing lists is streamlined for the common case, - speeding up :meth:`list.append` by ≈15% + speeding up :meth:`!list.append` by ≈15% and simple :term:`list comprehension`\s by up to 20-30% (Contributed by Dennis Sweeney in :gh:`91165`.)