Skip to content

Fix SpriteList.pop exception type on empty #2103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

pushfoo
Copy link
Member

@pushfoo pushfoo commented Jun 10, 2024

  • Use IndexError instead of ValueError as with list
  • Touch up docstring
  • Add test for the exception behavior

@Cleptomania Cleptomania merged commit 8b4ad30 into pythonarcade:development Jun 12, 2024
8 checks passed
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.

2 participants