From 0413a993ff7306740ccbc8dd79339ef177b9dff3 Mon Sep 17 00:00:00 2001 From: Shamil Date: Mon, 8 Sep 2025 17:55:06 +0300 Subject: [PATCH] Move invalidate_caches docs to Cross platform section --- Doc/library/platform.rst | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/Doc/library/platform.rst b/Doc/library/platform.rst index 37df13f8a1eb8c..88affb5eea2b59 100644 --- a/Doc/library/platform.rst +++ b/Doc/library/platform.rst @@ -187,6 +187,14 @@ Cross platform .. versionchanged:: 3.9 :attr:`processor` is resolved late instead of immediately. +.. function:: invalidate_caches() + + Clear out the internal cache of information, such as the :func:`uname`. + This is typically useful when the platform's :func:`node` is changed + by an external process and one needs to retrieve the updated value. + + .. versionadded:: 3.14 + Windows platform ---------------- @@ -370,14 +378,3 @@ The following options are accepted: You can also pass one or more positional arguments (``terse``, ``nonaliased``) to explicitly control the output format. These behave similarly to their corresponding options. - -Miscellaneous -------------- - -.. function:: invalidate_caches() - - Clear out the internal cache of information, such as the :func:`uname`. - This is typically useful when the platform's :func:`node` is changed - by an external process and one needs to retrieve the updated value. - - .. versionadded:: 3.14