Minor glitch in %Docstring example

Giuseppe Corbelli <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
Hi all
The document 
https://www.riverbankcomputing.com/static/Docs/sip/directives.html#directive-%Docstring


has an example that reads:
public:
     Klass();
%Docstring deindented
     This will be appended to the class's docstring and will not be 
indented.

         This will be indented by four spaces.
%End


while it should be (note the quotes):
public:
     Klass();
%Docstring "deindented"
     This will be appended to the class's docstring and will not be 
indented.

         This will be indented by four spaces.
%End


BTW, what is the correct syntax to get both deindented and appended?
I tried
%Docstring "deindented","appended"
%Docstring "deindented" "appended"
%Docstring "deindented";"appended"

with no luck (syntax error).

Thanks
-- 
Giuseppe Corbelli
_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.