.api/.pyi files and scoped enums
phil at riverbankcomputing.com
Tue Dec 1 17:57:12 GMT 2020
On 01/12/2020 17:51, Florian Bruhin wrote:
> After trying to find out if I can automatically rewrite enums for
> access, I looked at the .api output (since the XML export doesn't seem
> to exist anymore?).
> However, I noticed that the generated files still contain the unscoped
> names, e.g. "QtCore.Qt.NoButton?10" rather than
> Something similar applies to the .pyi files, which contain:
> class MouseButton(int): ...
> NoButton = ... # type: 'Qt.MouseButton'
> (note that the members are not part of the class scope, they are
> directly in the enclosing "Qt" class)
> That's with:
> Is this intended?
No, just haven't got round to everything yet.
More information about the PyQt