diff --git a/Doc/library/shelve.rst b/Doc/library/shelve.rst index 8c65790..87c84b1 100644 --- a/Doc/library/shelve.rst +++ b/Doc/library/shelve.rst @@ -53,8 +53,10 @@ lots of shared sub-objects. The keys are ordinary strings. to load a shelf from an untrusted source. Like with pickle, loading a shelf can execute arbitrary code. -Shelf objects support all methods supported by dictionaries. This eases the -transition from dictionary based scripts to those requiring persistent storage. +Shelf objects support all methods supported by dictionaries except +:meth:`~dict.viewkeys`, :meth:`~dict.viewvalues` and :meth:`~dict.viewitems`. +This eases the transition from dictionary based scripts to those requiring +persistent storage. Two additional methods are supported: @@ -205,4 +207,3 @@ object):: Module :mod:`cPickle` High-performance version of :mod:`pickle`. -