diff --git a/Lib/dbm/__init__.py b/Lib/dbm/__init__.py index 4fdbc54e74cfb64..e3f4ce24685a936 100644 --- a/Lib/dbm/__init__.py +++ b/Lib/dbm/__init__.py @@ -102,7 +102,8 @@ def whichdb(filename): - None if the database file can't be read; - empty string if the file can be read but can't be recognized - - the name of the dbm submodule (e.g. "ndbm" or "gnu") if recognized. + - the name of the dbm submodule (for example "dbm.ndbm" or "dbm.gnu") + if recognized. Importing the given module may still fail, and opening the database using that module may still fail.