Hello!

I think we have discussed this before, but I just tried setting a docstring in 
the Python layer of dolfin from a generated docstring from the cpp layer. I 
tried several different ways:

    def collapse(...):
        "dummy"

FunctionSpaceBase.collapse.__doc__ = cpp.FunctionSpace.collapse.__doc__

    def collapse(...):
        cpp.FunctionSpace.collapse.__doc__

    def collapse(...):
        __doc__ = cpp.FunctionSpace.collapse.__doc__

but none worked as expected. Any clues?

Johan

_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp

Reply via email to