[PyQt] Docstring for template based classes

Denis Rouzaud denis.rouzaud at gmail.com
Mon Jan 15 12:30:39 GMT 2018


Hi Phil

Le dim. 14 janv. 2018 à 11:39, Phil Thompson <phil at riverbankcomputing.com>
a écrit :

> On 13 Jan 2018, at 12:47 pm, Denis Rouzaud <denis.rouzaud at gmail.com>
> wrote:
> >
> >
> > I undertand that one cannot comment typedef.
> > But would there be a way to modify the Docstring generated for the
> template based resulting class?
>
> What resulting class? This is just a list.
>
>
> Sorry, yes the intention is to document this actually:

typedef QgsTemporalRange< QDateTime > QgsDateTimeRange;

It gets the documentation of the template class QgsTemporalRange while I'd
like to provide my own (since we have several uses of  QgsTemporalRange)

Cheers,

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


More information about the PyQt mailing list