https://github.com/python/cpython/commit/c6f8b2fdb109941f70e0ea59a587734e39b04879
commit: c6f8b2fdb109941f70e0ea59a587734e39b04879
branch: main
author: Shamil <[email protected]>
committer: picnixz <[email protected]>
date: 2025-09-08T17:20:46+02:00
summary:

gh-138665: Move `platform.invalidate_caches` docs (#138667)

files:
M Doc/library/platform.rst

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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to