Status: New
Owner: ----
Labels: Type-Defect Priority-Medium EasyToFix
New issue 2252 by [email protected]: activate docstring examples for
symarray()
http://code.google.com/p/sympy/issues/detail?id=2252
There are examples of symarray() function in docstring, which are not
passing through `./test/docstring`, because chars `>>` are used instead of
`>>>`.
For example:
./sympy/matrices/matrices.py:2233: >> from sympy import symarray
./sympy/matrices/matrices.py:2234: >> symarray('', 3)
./sympy/matrices/matrices.py-2235- [_0 _1 _2]
It seems that author just have forgotten about them.
It is needed to try replace them correctly.
But they can be specially skiped by author for some reasons (e.g. to avoid
slow-down).
In those case ` #+doctest:skip` must be used.
Also, some examples can be written incorrect, and it is needed to determine
the right result.
Additional info:
helpful command: `grep -n -A 1 --directories=recurse --include=*.py "
" ./`
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.