[SciPy-user] Random sparse matrices

Stéfan van der Walt stefan@sun.ac...
Wed Apr 23 04:22:14 CDT 2008


2008/4/22 Nathan Bell <wnbell@gmail.com>:
> On Tue, Apr 22, 2008 at 1:34 PM, Mico Filós <elmico.filos@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