mirror of
https://github.com/python/cpython.git
synced 2026-02-18 05:12:16 +00:00
gh-138665: Move platform.invalidate_caches docs (#138667)
This commit is contained in:
parent
1acb718ea2
commit
c6f8b2fdb1
1 changed files with 8 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue