docstring for CppClass
Asked by
kun
Hi,
I was wondering if we can set docstring in a cppclass easily.
I am using the 0.10 code. I think the docstring is only set
in the generate method, which means, if I call the root module's
generate method, there will be no docstring set for individual classes.
But for methods and functions, the constructor accept a docstring
parameter, which makes adding docstring a lot easier. Why
the cppclass doesn't accept a docstring in construction to make
things consistent?
I am not sure if I missed something here. If so please let me know.
Kun
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- PyBindGen Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask kun for more information if necessary.
To post a message you must log in.