Skip to content

Missing wx.__version__ #31

Description

@Newbytee

It seems like the __version__ attribute is missing from the types for wxPython. Simple reproducer:

import wx

print(wx.__version__)

If I run it with Python:

$ python -m test
4.2.1

But if I "run" it with mypy:

$ mypy -m test
sketch/test.py:3: error: Module has no attribute "__version__"  [attr-defined]
Found 1 error in 1 file (checked 1 source file)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions