diff options
author | Raymond Hettinger <python@rcn.com> | 2002-11-15 06:46:14 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-11-15 06:46:14 (GMT) |
commit | 7994716b6bcaeca64f47b7b3ed4e411bb6afc415 (patch) | |
tree | 0815d4b85257de2a72984d5c7026dab279b053e7 /Doc/lib/libshelve.tex | |
parent | 3a7f405f5b3388b5ba3cf807100627ae5fbf696f (diff) | |
download | cpython-7994716b6bcaeca64f47b7b3ed4e411bb6afc415.zip cpython-7994716b6bcaeca64f47b7b3ed4e411bb6afc415.tar.gz cpython-7994716b6bcaeca64f47b7b3ed4e411bb6afc415.tar.bz2 |
SF patch #520382: Expand shelve.py to have a full dictionary interface
and add a mixin to UserDict.py to make it easier to implement a full
dictionary interface.
Diffstat (limited to 'Doc/lib/libshelve.tex')
-rw-r--r-- | Doc/lib/libshelve.tex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/lib/libshelve.tex b/Doc/lib/libshelve.tex index 76eaaf4..1e02c7b 100644 --- a/Doc/lib/libshelve.tex +++ b/Doc/lib/libshelve.tex @@ -33,6 +33,10 @@ list = d.keys() # a list of all existing keys (slow!) d.close() # close it \end{verbatim} +In addition to the above, shelve supports all methods that are +supported by dictionaries. This eases the transition from dictionary +based scripts to those requiring persistent storage. + Restrictions: \begin{itemize} |