[SIP] Type declarations not added for operator overloads.
Greger Stolt Nilsen
gregersn at gmail.com
Tue Mar 1 21:46:41 GMT 2022
Code like
`Vector operator+ (const Vector &other) const;`
does not get typing added to the .pyi-file, and it seems to be the same
for all operator-overloads.
Expected type code would be something like
`def __add__(self, other: 'Vector') -> Vector ...`
If this is a hard problem to solve, is there a way to manually add the
type signatures in the sip-files?
Best regards
Greger
More information about the PyQt
mailing list