[PyQt] SIP Enums and docstring
Denis Rouzaud
denis.rouzaud at gmail.com
Tue Mar 5 09:02:42 GMT 2019
Hi list, hi Phil,
I am currently at a way of documenting enums and I am not sure what is the
best approach.
1) SIP uses a custom type for enums and not the native Python one available
since 3.4. Is it worth switching?
2) SIP errors when you try to documents enums. That would need to be fixed
in sipgen, correct? Would we document the enum only or its members too?
What would be the syntax?
3) In SIP lib, we would need to adapt the creation of enums to handle the
docstring. A new member needs to be added to _sipEnumTypeObject to save the
docstring. But then how handling this in createEnum?
I would be very grateful for any hint.
Cheers,
Denis
--
Denis Rouzaud
denis at opengis.ch <denis at opengis.ch>
+41 76 370 21 22
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190305/9924fb80/attachment.html>
More information about the PyQt
mailing list