[SciPy-user] Random sparse matrices

Stéfan van der Walt stefan at sun.ac.za
Wed Apr 23 05:22:14 EDT 2008


2008/4/22 Nathan Bell <wnbell at gmail.com>:
> On Tue, Apr 22, 2008 at 1:34 PM, Mico Filós <elmico.filos at gmail.com> wrote:
>  >  I would be happy to write the docstrings, but I cannot do it right now.
>
>  Thanks.  I would appreciate if the docstrings conformed to those in :
>  http://projects.scipy.org/scipy/scipy/browser/trunk/scipy/sparse/construct.py#L85
>
>  Does anyone know a way to include an example in a docstring that *will
>  not* be treated as a doctest (for non-deterministic functions like
>  this)?

For each line you wish to skip, use

>>> some_func(foo) # doctest: +SKIP

Regards
Stéfan



More information about the SciPy-User mailing list