I try to find the docstring of the numpy.random.random()
function in vscode
. To do this i can keep navigating to the definition using go to definition
from the menu or by pressing the f12
key.
...but i end up navigating to this line of code:
def random(self, size: None = ...) -> float: ... # type: ignore[misc]
Not only do i not find the docstring, but i dont understand what the elipses (three dots ...
) do or what this line of code means. There are various explanations of elipses for use in arrays in numpy, but not for functions or how i can navigate to the docstring from this.
So, where is the docstring of the function ? (ie. the same docstring that i would see by hovering over the function)