mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Merge 85bf7c3794
into 61dd9fdad7
This commit is contained in:
commit
11c9074f81
1 changed files with 7 additions and 0 deletions
|
@ -85,6 +85,13 @@ Two additional methods are supported:
|
|||
|
||||
.. versionadded:: next
|
||||
|
||||
.. warning::
|
||||
|
||||
During the call to :meth:`!sync`, the *writeback* attribute is set to
|
||||
:const:`False` and other threads will stop updating the cache. As such,
|
||||
this method is **not** thread-safe.
|
||||
|
||||
|
||||
.. method:: Shelf.close()
|
||||
|
||||
Synchronize and close the persistent *dict* object. Operations on a closed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue