Skip to content

Add return type to _tkinter.TkappType.interpaddr() #14101

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

Merged
merged 1 commit into from
May 19, 2025
Merged

Add return type to _tkinter.TkappType.interpaddr() #14101

merged 1 commit into from
May 19, 2025

Conversation

Akuli
Copy link
Collaborator

@Akuli Akuli commented May 19, 2025

I needed this for a project.

How to verify that this is correct:

>>> import tkinter, _tkinter
>>> _tkinter.TkappType
<class '_tkinter.tkapp'>
>>> root = tkinter.Tk()
>>> type(root.tk)
<class '_tkinter.tkapp'>
>>> root.tk.interpaddr()
754380928

Copy link
Contributor

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

@srittau srittau merged commit 67deb0d into main May 19, 2025
64 checks passed
@srittau srittau deleted the interpaddr branch May 19, 2025 20:50
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.

2 participants