Skip to content

Commit c6f8b2f

Browse files
authored
gh-138665: Move platform.invalidate_caches docs (#138667)
1 parent 1acb718 commit c6f8b2f

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

Doc/library/platform.rst

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,14 @@ Cross platform
187187
.. versionchanged:: 3.9
188188
:attr:`processor` is resolved late instead of immediately.
189189

190+
.. function:: invalidate_caches()
191+
192+
Clear out the internal cache of information, such as the :func:`uname`.
193+
This is typically useful when the platform's :func:`node` is changed
194+
by an external process and one needs to retrieve the updated value.
195+
196+
.. versionadded:: 3.14
197+
190198

191199
Windows platform
192200
----------------
@@ -370,14 +378,3 @@ The following options are accepted:
370378
You can also pass one or more positional arguments (``terse``, ``nonaliased``)
371379
to explicitly control the output format. These behave similarly to their
372380
corresponding options.
373-
374-
Miscellaneous
375-
-------------
376-
377-
.. function:: invalidate_caches()
378-
379-
Clear out the internal cache of information, such as the :func:`uname`.
380-
This is typically useful when the platform's :func:`node` is changed
381-
by an external process and one needs to retrieve the updated value.
382-
383-
.. versionadded:: 3.14

0 commit comments

Comments
 (0)