Skip to content

Conversation

@pushfoo
Copy link
Member

@pushfoo pushfoo commented Apr 13, 2023

  1. Improve inheritance safety by using cls or self.__class__ where appropriate instead of Color
  2. Add inheritance safety to Color's unit tests
  3. Use the Self annotation for accuracy since we have access to a backport of it on 3.8+ via typing_extensions

@einarf einarf merged commit 51adf79 into pythonarcade:development Apr 20, 2023
@pushfoo pushfoo deleted the color_inheritance_safety branch May 7, 2023 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants