Karl Richter added the comment:

After checking the code, I think that it'd make more sense to document 
`whichdb.py`. It needs to be enhanced with references to criteria for the 
determination of the database type. Currently there're only function comments 
and the fact that some variables are named magic speaks for itself, i.e. it's 
ok for the implementation of the module to be a black box, but the requirements 
for the input, i.e. the potential database file, which is per se not part of 
the black box, needs to be specified. Then just link that in the `shelve` docs 
stating that `shelve.open` is basically a wrapper around `whichdb`.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23174>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to