console help __doc__ vs "?"
Answered
Hi,
In the console/ipython console the "?" does not display formatted help.
>>> numpy.zeros?
>>> {'text/plain': u"Docstring:\nzeros(shape, dtype=float, order='C')\n\nReturn a new array of given shape and ty.....
instead of a proper help message
>>> print(numpy.zeros.__doc__)
>>> zeros(shape, dtype=float, order='C')
Return a new array of given shape and type, filled with zeros.
Parameters
----------
shape : int or sequence of ints
Shape of the new array, e.g., ``(2, 3)`` or ``2``.
...
Please sign in to leave a comment.
It's a known issue https://youtrack.jetbrains.com/issue/PY-21591, please follow it for updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.