Skip to content

Correct report_callback_exception type from attribute to method#15841

Closed
Jesse205 wants to merge 2 commits into
python:mainfrom
Jesse205:main
Closed

Correct report_callback_exception type from attribute to method#15841
Jesse205 wants to merge 2 commits into
python:mainfrom
Jesse205:main

Conversation

@Jesse205
Copy link
Copy Markdown

Fixes #15840

@github-actions
Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

porcupine (https://github.com/Akuli/porcupine)
+ porcupine/_state.py:66: error: Cannot assign to a method  [method-assign]

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.

Tk.report_callback_exception type annotation breaks subclass override compatibility

1 participant