This commit is contained in:
Bénédikt Tran 2025-07-10 06:55:04 +03:00 committed by GitHub
commit 11c9074f81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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