Skip to content

Conversation

@w-v
Copy link
Contributor

@w-v w-v commented Jan 21, 2021

Fixes the signature type hint of the set_mods function to match the C code and the documentation

Copy link
Contributor

@ankith26 ankith26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix!
Indeed the typehints were wrong before, and this PR fixes that.
Thanks 👍

@ankith26
Copy link
Contributor

Don’t mind the close/open. It’s just done to run the CI again :)

@illume illume changed the title Fix set_mods() type hint Fix key.set_mods() type hint Aug 21, 2021
@illume illume added key pygame.key types Type hint checking related tasks labels Aug 21, 2021
@illume illume added this to the 2.0.2 milestone Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

key pygame.key types Type hint checking related tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants