Skip to content

Conversation

@Akuli
Copy link
Collaborator

@Akuli Akuli commented Aug 21, 2022

It calls tk_chooseColor, because Chooser sets command to "tk_chooserColor" and Dialog calls whatever command is set to. Manual page of tk_chooseColor is here.

@github-actions

This comment has been minimized.

@TeamSpen210
Copy link
Contributor

Something else with askcolor: As of 3.9, the return value is actually tuple[int, int, int].

@Akuli
Copy link
Collaborator Author

Akuli commented Aug 21, 2022

Thanks for pointing that out! I have updated the return type.

@github-actions
Copy link
Contributor

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

Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't double check (because tkinter), but that looks reasonable.

@srittau srittau merged commit 5ea1b1e into python:master Aug 22, 2022
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