Bryce Verdier bryceverd...@gmail.com added the comment:
Applied patch cleanly. Also the description reads clearly and makes sense.
--
nosy: +louiscipher
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8158
Roundup Robot devnull@devnull added the comment:
New changeset c13d2552eb51 by R David Murray in branch '2.7':
#8158: add missing 'description' description to optparse docstring.
http://hg.python.org/cpython/rev/c13d2552eb51
New changeset f559b88bcaa0 by R David Murray in branch '3.1':
#8158:
R. David Murray rdmur...@bitdance.com added the comment:
Thanks everyone.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
Jeff Ramnani j...@jefframnani.com added the comment:
You are correct.
I have added 'description' to the docstring of the OptionParser class for 2.7
and default (python3 tip).
Here is the patch for python3 tip.
--
keywords: +patch
Added file:
Jeff Ramnani j...@jefframnani.com added the comment:
Attaching the same patch for 2.7.
--
Added file: http://bugs.python.org/file21487/issue8151-2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8158
Jeff Ramnani j...@jefframnani.com added the comment:
I've read through the doc and the code. All keyword arguments for
OptionParser.__init__() are in the documentation for branches 2.7 and default
(as of ecc176488349).
Does that mean this issue can be closed?
--
nosy: +jramnani
R. David Murray rdmur...@bitdance.com added the comment:
It looks to me like description is still missing from the docstring, at least
on python3 tip.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8158
Changes by Éric Araujo mer...@netwok.org:
--
title: documentation of 'optparse' module incomplete - Docstring of
optparse.OptionParser incomplete
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8158