diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-07-26 16:11:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-26 16:11:25 (GMT) |
commit | c97c2a050cf753003012ae3f08e035326b8f6167 (patch) | |
tree | 470ab00fa229cbe4d5216d6fda29affaf1c93520 /Doc/library/shelve.rst | |
parent | 6c1b57d958e2b0d5bcf0f2315b5044838e11638f (diff) | |
download | cpython-c97c2a050cf753003012ae3f08e035326b8f6167.zip cpython-c97c2a050cf753003012ae3f08e035326b8f6167.tar.gz cpython-c97c2a050cf753003012ae3f08e035326b8f6167.tar.bz2 |
bpo-43443: Clarify difference between shelve objects and dicts (GH-27004)
Diffstat (limited to 'Doc/library/shelve.rst')
-rw-r--r-- | Doc/library/shelve.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/shelve.rst b/Doc/library/shelve.rst index 07caf91..1031888 100644 --- a/Doc/library/shelve.rst +++ b/Doc/library/shelve.rst @@ -60,7 +60,8 @@ 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 +Shelf objects support most of methods and operations supported by dictionaries +(except copying, constructors and operators ``|`` and ``|=``). This eases the transition from dictionary based scripts to those requiring persistent storage. Two additional methods are supported: |