Issue 6883: OptionParser.allow_interspersed_args is undocumented (original) (raw)

Created on 2009-09-11 14:26 by skip.montanaro, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (6)
msg92510 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2009-09-11 14:26
The OptionParser.allow_interspersed_args attribute is undocumented in the Sphinx documentation. (It is mentioned in the OptionParser docstring.) By its name it appears to actually part of the official API, so should at least be mentioned in the rst file.
msg92753 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-09-17 10:18
The (en|dis)able_interspersed_args accessors are already documented, so I see no reason to document the attribute as well...
msg92777 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2009-09-17 16:17
Georg> The (en|dis)able_interspersed_args accessors are already Georg> documented, so I see no reason to document the attribute as Georg> well... But it is documented in the class's docstring and there are no docstrings for the methods. It's not at all clear which is the "best" way to change that particular behavior. Skip
msg92778 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-09-17 16:21
The methods do have docstrings (trunk rev, line 1283 and 1291). And usually, when there are accessors for a property, they are the preferred way to change it. Anyway, I don't see a reason to do something here, so please propose a patch if you still think the docs inadequate.
msg104549 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2010-04-29 18:02
Skip, can we close this?
msg104561 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2010-04-29 18:27
Since he hasn't proposed a patch, we close it :) Skip can always reopen it if he wants.
History
Date User Action Args
2022-04-11 14:56:52 admin set github: 51132
2010-04-29 18:27:33 r.david.murray set status: open -> closednosy: + r.david.murraymessages: +
2010-04-29 18:02:28 terry.reedy set status: pending -> opennosy: + terry.reedymessages: +
2009-09-17 16:21:58 georg.brandl set status: open -> pendingmessages: +
2009-09-17 16:17:52 skip.montanaro set status: pending -> openmessages: +
2009-09-17 10🔞31 georg.brandl set status: open -> pendingnosy: + georg.brandlmessages: + resolution: works for me
2009-09-11 14:26:26 skip.montanaro create