Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 905a01a commit bd77da6Copy full SHA for bd77da6
1 file changed
Doc/lib/libshelve.tex
@@ -42,6 +42,14 @@ \section{\module{shelve} ---
42
the transition from dictionary based scripts to those requiring persistent
43
storage.
44
45
+One additional method is supported:
46
+\begin{methoddesc}[Shelf]{sync}{}
47
+Write back all entries in the cache if the shelf was opened with
48
+\var{writeback} set to \var{True}. Also empty the cache and synchronize
49
+the persistent dictionary on disk, if feasible. This is called automatically
50
+when the shelf is closed with \method{close()}.
51
+\end{methoddesc}
52
+
53
\subsection{Restrictions}
54
55
\begin{itemize}
0 commit comments