rvlib icon indicating copy to clipboard operation
rvlib copied to clipboard

docstring overwritten by `@jitclass`

Open danielcsaba opened this issue 8 years ago • 1 comments

the @jitclass decorator overwrites the docstring for instances of classes. docstrings are maintained for the methods but not for porperties.

For example, retrieving the docstring of the Normal works with

   In [1]: print(Normal.__doc__)

but does not work on an instance of the Normal:

    In [2]: N = Normal(0,1)
    In [3]: print(N.__doc__)

danielcsaba avatar Jun 21 '16 22:06 danielcsaba

Is this still an issue?

mmcky avatar Nov 23 '16 05:11 mmcky