-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[tkinter] Annotate several functions #14631
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
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
With the removal of all the type aliases, this PR has become quite large. Could you make separate pull requests of removing all the type aliases? This way, if removing some type alias causes a problem for someone, we can simply revert one removal PR instead of trying to revert parts of a big PR. It would also be easier to review. |
This reverts commit 63b2171.
This comment has been minimized.
This comment has been minimized.
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Inspired by python#14631 (comment) I only got rid of some of the aliases (the simplest ones) to make sure that others supported this action and to test the functionality of this idea.
While reading documentation about Tk data types, I noticed that the value
fill
is listed as allowed forjustify
type, whereas the Tcl manpage does not mention it. I might be missing something, but it seems like this value should apply to thejustify
argument. Could this be a documentation error, or have I misunderstood something?