[issue15258] argparse documentation: Improve optparse section regarding allow_interspersed_args
Berker Peksag
report at bugs.python.org
Tue Aug 14 08:34:22 EDT 2018
Berker Peksag <berker.peksag at gmail.com> added the comment:
ArgumentParser.parse_intermixed_arg() has been added in https://github.com/python/cpython/commit/0f6b9d230674da784ca79a0cf1a03d2af5a8b6a8 (Issue 14191) and the "Upgrading optparse code" section now has the following item:
* Replace optparse.OptionParser.disable_interspersed_args()
by using ArgumentParser.parse_intermixed_args() instead of
ArgumentParser.parse_args().
Closing this as 'outdated'.
----------
nosy: +berker.peksag
resolution: -> out of date
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue15258>
_______________________________________
More information about the Python-bugs-list
mailing list