From 5d7e485eabc3977e2833880535d5f17e54e7cf5b Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Fri, 7 Feb 2025 15:06:11 +0000 Subject: [PATCH] Clarify clarificatory tail calling wording in What's New --- Doc/whatsnew/3.14.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index e5e9474d1e5d85..1e469e8738bfcb 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -230,13 +230,15 @@ tested and can validate its improved performance. For further information on how to build Python, see :option:`--with-tail-call-interp`. -(Contributed by Ken Jin in :gh:`128718`, with ideas on how to implement this -in CPython by Mark Shannon, Garret Gu, Haoran Xu, and Josh Haberman.) - .. note:: - This is not to be confused with tail call optimization of Python code. - Python functions do not currently have tail call optimization. + This is not to be confused with `tail call optimization`__ of Python + functions, which is currently not implemented in CPython. + + __ https://en.wikipedia.org/wiki/Tail_call + +(Contributed by Ken Jin in :gh:`128718`, with ideas on how to implement this +in CPython by Mark Shannon, Garret Gu, Haoran Xu, and Josh Haberman.) Other language changes