From 1500d5bdc9ec600380a1aab056fca1141adfb3bc Mon Sep 17 00:00:00 2001 From: SidharthSharma-jj Date: Sat, 8 Aug 2026 19:10:54 +0530 Subject: [PATCH] Update doc for sys._clear_internal_caches Added notes indicating that the function is now a no-op and no longer clears the internal type cache. --- Doc/library/sys.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index a2668a38c6b4a2f..7e3b523518d28e2 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -242,6 +242,9 @@ always available. Unless explicitly noted otherwise, all variables are read-only .. deprecated:: 3.13 Use the more general :func:`_clear_internal_caches` function instead. + .. note:: + This function is now a no-op and no longer clears the internal type cache. + .. function:: _clear_internal_caches() @@ -250,6 +253,8 @@ always available. Unless explicitly noted otherwise, all variables are read-only .. versionadded:: 3.13 + .. note:: + This function no longer clears the internal type cache, as the underlying operation is now a no-op. .. function:: _current_frames()