summaryrefslogtreecommitdiffstats
path: root/Doc/library/shelve.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-10 03:26:08 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-10 03:26:08 (GMT)
commit10480940373492652bc285fca3fa74751c271645 (patch)
treebb1bfed3416120cc371eb884960cf73aad9a957e /Doc/library/shelve.rst
parenta4815caa7ccf21aa994d0e0eec66873072f0e352 (diff)
downloadcpython-10480940373492652bc285fca3fa74751c271645.zip
cpython-10480940373492652bc285fca3fa74751c271645.tar.gz
cpython-10480940373492652bc285fca3fa74751c271645.tar.bz2
Move source links to consistent location and remove wordy, big yellow boxes.
Diffstat (limited to 'Doc/library/shelve.rst')
-rw-r--r--Doc/library/shelve.rst6
1 files changed, 2 insertions, 4 deletions
diff --git a/Doc/library/shelve.rst b/Doc/library/shelve.rst
index de22833..499ab51 100644
--- a/Doc/library/shelve.rst
+++ b/Doc/library/shelve.rst
@@ -7,16 +7,14 @@
.. index:: module: pickle
+**Source code:** :source:`Lib/shelve.py`
+
A "shelf" is a persistent, dictionary-like object. The difference with "dbm"
databases is that the values (not the keys!) in a shelf can be essentially
arbitrary Python objects --- anything that the :mod:`pickle` module can handle.
This includes most class instances, recursive data types, and objects containing
lots of shared sub-objects. The keys are ordinary strings.
-.. seealso::
-
- Latest version of the :source:`shelve module Python source code
- <Lib/shelve.py>`
.. function:: open(filename, flag='c', protocol=None, writeback=False)