@@ -34,8 +34,8 @@ the Oracle Berkeley DB.
3434 * the empty string (``'' ``) if the file's format can't be guessed
3535 * a string containing the required module name, such as ``'dbm.ndbm' `` or ``'dbm.gnu' ``
3636
37- .. versionchanged :: 3.11
38- Accepts :term: `path-like object ` for filename .
37+ .. versionchanged :: 3.11
38+ * filename * accepts a :term: `path-like object `.
3939
4040.. Substitutions for the open() flag param docs;
4141 all submodules use the same text.
@@ -78,6 +78,9 @@ the Oracle Berkeley DB.
7878 database has to be created. It defaults to octal ``0o666 `` (and will be
7979 modified by the prevailing umask).
8080
81+ .. versionchanged :: 3.11
82+ *file * accepts a :term: `path-like object `.
83+
8184
8285The object returned by :func: `open ` supports the same basic functionality as a
8386:class: `dict `; keys and their corresponding values can be stored, retrieved, and
@@ -91,9 +94,6 @@ available, as well as :meth:`!get` and :meth:`!setdefault`.
9194 Deleting a key from a read-only database raises database module specific error
9295 instead of :exc: `KeyError `.
9396
94- .. versionchanged :: 3.11
95- Accepts :term: `path-like object ` for file.
96-
9797Key and values are always stored as :class: `bytes `. This means that when
9898strings are used they are implicitly converted to the default encoding before
9999being stored.
0 commit comments