[issue36322] Argument typo in dbm.ndbm.open

2019-04-02 Thread Brett Cannon
Brett Cannon added the comment: So Terry is correct in so much as there is no parameter name. :) Both of the functions in question are positional-only, so the name actually doesn't matter beyond giving a way to reference the parameter in the documentation. So thanks for the PR, Marco, but I'

[issue36322] Argument typo in dbm.ndbm.open

2019-04-02 Thread Brett Cannon
Brett Cannon added the comment: Actually, it's even more subtle as the arguments are positional-only. -- nosy: +brett.cannon ___ Python tracker ___ ___

[issue36322] Argument typo in dbm.ndbm.open

2019-03-23 Thread Marco Rougeth
Marco Rougeth added the comment: Hi Terry, thanks for reviewing this and sorry for not being clear enough. About dbm.gnu.open: The docs indeed uses “flag”, in singular form, but it’s wrong because 1) the argument accepts, for some cases, 2 flags and, 2) the source code uses “flags” in plural

[issue36322] Argument typo in dbm.ndbm.open

2019-03-22 Thread Terry J. Reedy
Terry J. Reedy 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 g

[issue36322] Argument typo in dbm.ndbm.open

2019-03-22 Thread Marco Rougeth
Change by Marco Rougeth : -- keywords: +patch pull_requests: +12453 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue36322] Argument typo in dbm.ndbm.open

2019-03-16 Thread Marco Rougeth
Change by Marco Rougeth : -- title: Argument typo in dam.ndbm.open -> Argument typo in dbm.ndbm.open ___ Python tracker ___ ___ Pyth