Skip to content

Fix tkinter subsample and zoom method signatures#15869

Open
AsfhtgkDavid wants to merge 1 commit into
python:mainfrom
AsfhtgkDavid:tkinter-subsample-and-zoom-fix
Open

Fix tkinter subsample and zoom method signatures#15869
AsfhtgkDavid wants to merge 1 commit into
python:mainfrom
AsfhtgkDavid:tkinter-subsample-and-zoom-fix

Conversation

@AsfhtgkDavid
Copy link
Copy Markdown

This PR fixes an incorrect annotation for the y argument in the subsample and zoom methods. According to the documentation, by default it accepts an empty string and is then set to x, but it can be changed independently. This bug has been present since version 3.13+.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

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.

1 participant