Skip to content

Conversation

@Yay295
Copy link
Contributor

@Yay295 Yay295 commented Apr 6, 2024

This slightly simplifies the code, and adds the benefit of being a NamedTuple.

@radarhere
Copy link
Member

radarhere commented Apr 6, 2024

Could you elaborate on what the benefits of being a NamedTuple are over the current behaviour?

@Yay295
Copy link
Contributor Author

Yay295 commented Apr 6, 2024

Mostly that it's immutable, and we get an __init__ method for free.

@hugovk hugovk merged commit 4897954 into python-pillow:main Apr 11, 2024
@Yay295 Yay295 deleted the patch-2 branch April 11, 2024 12:53
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