8000 Docs: reword the dbm.dumb introduction by erlend-aasland · Pull Request #114550 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Docs: reword the dbm.dumb introduction #114550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jan 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading < 10000 /div>
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Doc/library/dbm.rst
  • Loading branch information
erlend-aasland authored Jan 26, 2024
commit db3c0ee3da1aa961c11e9bd8d1f31209b4787d92
4 changes: 2 additions & 2 deletions Doc/library/dbm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,8 @@ The :mod:`!dbm.dumb` module defines the following:
The basename of the database file (without extensions).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO, "without extensions" is to be understood by the term "basename". The following should suffice:

Suggested change
The basename of the database file (without extensions).
The basename of the database file.

A new database creates the following files:

- :samp:`{filename}.dat`
- :samp:`{filename}.dir`
- :file:`{filename}.dat`
- :file:`{filename}.dir`
:type database: :term:`path-like object`

:param str flag:
Expand Down
0