I am writing a Module where I am overwriting the function
To be able to overwrite the function
sample I import the function in the file Modulename.jl
# import sample import StatsBase: sample
And I implement my own
sample function in another file, looking something like this
""" sample(inputs) Docstring for my version of sample. """ function sample(inputs) # stuff end
The problem is that when I view the docstring by typing
I see both the docstring for my own implementation of
sample, and the docstring for the
sample function in
Furthermore, if I type
Still, both docstrings are printed.
How can I select to only show the docstring for the function
sample that I implement in my module?