lordmauve / wasabi2d

Cutting-edge 2D game framework for Python
https://wasabi2d.readthedocs.io/
GNU Lesser General Public License v3.0
156 stars 24 forks source link

keymods not exported in wasabi module #18

Closed dmoisset closed 4 years ago

dmoisset commented 4 years ago

By reading https://wasabi2d.readthedocs.io/en/stable/events.html#keymods one would understand that wasabi.keymods is available as an importble enum, same as wasabi.keys, wasabi.mouse ; however it's actually inside wasabi.constants.

Should this be fixed by also exporting keymods in wasabi/__init__.py, or should the documentation be changed to say that keymods is elsewhere?

lordmauve commented 4 years ago

I think keymods should be in wasabi2d/__init__.py.