Terry J. Reedy <tjre...@udel.edu> added the comment:
I have trouble understanding this post. The parameter name is 'flag', not 'flags' and there are no typos, including in ndbm. The parameter name is singular because there is basically one flag with 4 possible values to indicate how to open. The fact that gdbm has optional subflags does not require changing the name and I think it better to keep the documented API the same. The only time 'flags' appears is in "Not all flags are valid for all versions of gdbm. The module constant open_flags is a string of supported flag characters." Here, 'flags' refers to the multiple possible values for the 'flag' argument, not the argument itself. I think that this issue and the PR should be closed. ---------- nosy: +terry.reedy _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36322> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com