[PyQt] Docstring for template based classes
Phil Thompson
phil at riverbankcomputing.com
Mon Jan 15 16:13:58 GMT 2018
On 15 Jan 2018, at 12:30 pm, Denis Rouzaud <denis.rouzaud at gmail.com> wrote:
>
> 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)
Try tonight's snapshot or current hg.
Phil
More information about the PyQt
mailing list