[Numpy-discussion] documentation generator based on pyparsing
Nils Wagner
nwagner@iam.uni-stuttgart...
Fri Nov 30 01:36:11 CST 2007
On Thu, 29 Nov 2007 10:01:26 +0100
Robert Cimrman <cimrman3@ntc.zcu.cz> wrote:
> Hi Nils,
>
> Nils Wagner wrote:
>> The output of
>>
>> ./gendocs.py -m 'scipy.linsolve.umfpack'
>>
>> differs from your example output (available at
>> http://scipy.org/Generate_Documentation)
>
> I had to update the umfpack info.py file (where the
>module docstring is)
> to conform the documentation standards. The gendocs.py
>relies on that,
> so use, please, the newest SVN version of scipy - it
>should work with
> rev. 3601 and later.
Hi Robert,
Thank you for your note. It works fine for me with
python2.5. However python2.3 results in
./gendocs.py -m 'scipy.linsolve.umfpack'
Traceback (most recent call last):
File "./gendocs.py", line 261, in ?
main()
File "./gendocs.py", line 207, in main
default = 1, help = help['page'] )
File "/usr/lib64/python2.3/optparse.py", line 820, in
add_option
option = self.option_class(*args, **kwargs)
File "/usr/lib64/python2.3/optparse.py", line 430, in
__init__
checker(self)
File "/usr/lib64/python2.3/optparse.py", line 499, in
_check_type
raise OptionError("invalid option type: %r" %
self.type, self)
optparse.OptionError: option -p/--page: invalid option
type: <type 'int'>
How can I resolve this problem ?
Nils
More information about the Numpy-discussion
mailing list