PyDocs

Nav

Data Persistence

Shelf.sync

shelve

method of Shelf (source)
  • Shelf.sync()
Write back all entries in the cache if the shelf was opened with writeback set to True. Also empty the cache and synchronize the persistent dictionary on disk, if feasible. This is called automatically when reorganize() is called or the shelf is closed with close().
0 Examples
No examples for shelve/Shelf.sync.
See Also
No see-alsos for shelve/Shelf.sync
0 Notes
No notes for Shelf.sync