Changed name of first _Tile parameter by radarhere · Pull Request #7772 · python-pillow/Pillow

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@radarhere

Copy link Copy Markdown

Member

@radarhere radarhere commented

Feb 2, 2024

edited

Loading

class _Tile(NamedTuple):
encoder_name: str
extents: tuple[int, int, int, int]
offset: int
args: tuple[Any, ...] | str | None

Because tiles can be used to indicate either how an image is to be encoded or decoded, I suggest codec_name instead of encoder_name.

@hugovk hugovk merged commit a5b4806 into python-pillow:main

Feb 2, 2024

@radarhere radarhere deleted the codec_name branch

February 2, 2024 23:50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@nulano nulano nulano approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@radarhere @nulano @hugovk