Can you follow the numpydoc (https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt) string patterns (if that is what sympy does normally)? If you follow those patterns you end up with much more useful doc strings.