[PyQt] [SIP] NaN

Denis Rouzaud denis.rouzaud at gmail.com
Thu Jun 1 16:24:58 BST 2017


Hi all,

Is there a way to define a default value for an argument to be a NaN such
as
std::numeric_limits<double>::quiet_NaN()

I could not achieve this with Py_None as default + some MethodCode since I
need to change the argument type to be a SIP_PYTYPE.

Any hint?
Thanks a lot,

Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170601/b43b7ade/attachment.html>


More information about the PyQt mailing list