[Numpy-discussion] Code samples in docstrings mistaken as doctests

Alan McIntyre alan.mcintyre at gmail.com
Mon Jun 23 03:37:23 EDT 2008


Hi all,

Some docstrings have examples of how to use the function that aren't
executable code (see numpy.core.defmatrix.bmat for an example) in
their current form.  Should these examples have the ">>>" removed from
them to avoid them being picked up as doctests?

Thanks,
Alan



More information about the NumPy-Discussion mailing list