diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-06 09:21:58 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-07-06 09:21:58 (GMT) |
commit | 0122ae9ac83afcad234aac80f77f90afabe342ea (patch) | |
tree | d0f671e0007eb5b1a785108aa37db5619b25e44d /Doc/library | |
parent | 9862b5194d5aa8f788d3fd38a3951d7d25d91352 (diff) | |
download | cpython-0122ae9ac83afcad234aac80f77f90afabe342ea.zip cpython-0122ae9ac83afcad234aac80f77f90afabe342ea.tar.gz cpython-0122ae9ac83afcad234aac80f77f90afabe342ea.tar.bz2 |
Issue #21708: Deprecated dbm.dumb behavior that differs from common dbm
behavior: creating a database in 'r' and 'w' modes and modifying a database
in 'r' mode.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/dbm.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/dbm.rst b/Doc/library/dbm.rst index 2a1db91..32e80b2 100644 --- a/Doc/library/dbm.rst +++ b/Doc/library/dbm.rst @@ -351,6 +351,10 @@ The module defines the following: :func:`.open` always creates a new database when the flag has the value ``'n'``. + .. deprecated-removed:: 3.6 3.8 + Creating database in ``'r'`` and ``'w'`` modes. Modifying database in + ``'r'`` mode. + In addition to the methods provided by the :class:`collections.abc.MutableMapping` class, :class:`dumbdbm` objects provide the following methods: |