Update the dbm documentation#137919
Conversation
Unify documentation for all backends, enumerate all not implemented mapping methods, document particularities of implemented mapping methods.
serhiy-storchaka
left a comment
There was a problem hiding this comment.
I reordered methods because they order was inconsistent between classes.
I am not sure whether it is worth to document clear() methods for gdbm and ndbm (they are the part of the mutable mapping protocol) or just add the versionchanged` directives.
We may add other not yet implemented methods (pop, popitem, values, update) in future, as some mapping methods were added in the past.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
Unify documentation for all backends, enumerate all not implemented mapping methods, document particularities of implemented mapping methods. (cherry picked from commit 8700404) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Unify documentation for all backends, enumerate all not implemented mapping methods, document particularities of implemented mapping methods. (cherry picked from commit 8700404) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
GH-137963 is a backport of this pull request to the 3.13 branch. |
|
GH-137962 is a backport of this pull request to the 3.14 branch. |
Unify documentation for all backends, enumerate all not implemented mapping methods, document particularities of implemented mapping methods.
📚 Documentation preview 📚: https://cpython-previews--137919.org.readthedocs.build/