E530 Update "Extra argument ..." error by hyperkai · Pull Request #20987 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

Update "Extra argument ..." error#20987

Open
hyperkai wants to merge 1 commit intopython:masterfrom
hyperkai:hyperkai-patch-10
Open

Update "Extra argument ..." error#20987
hyperkai wants to merge 1 commit intopython:masterfrom
hyperkai:hyperkai-patch-10

Conversation

@hyperkai
Copy link
Contributor
@hyperkai hyperkai commented Mar 7, 2026

Fix: #20986

@hyperkai hyperkai changed the title Update "Extra argument" error Update "Extra argument ..." error Mar 7, 2026
@github-actions
Copy link
Contributor
github-actions bot commented Mar 7, 2026

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

discord.py (https://github.com/Rapptz/discord.py)
- discord/shard.py:380: error: Extra argument "shard_ids" from **args for "__init__" of "Client"  [misc]
+ discord/shard.py:380: error: Extra argument "shard_ids" from **TypedDict for "__init__" of "Client"  [misc]
- discord/ext/commands/help.py:1087: error: Extra argument "sort_commands" from **args for "__init__" of "HelpCommand"  [misc]
+ discord/ext/commands/help.py:1087: error: Extra argument "sort_commands" from **TypedDict for "__init__" of "HelpCommand"  [misc]
- discord/ext/commands/help.py:1378: error: Extra argument "sort_commands" from **args for "__init__" of "HelpCommand"  [misc]
+ discord/ext/commands/help.py:1378: error: Extra argument "sort_commands" from **TypedDict for "__init__" of "HelpCommand"  [misc]

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.

"Extra argument ..." error of TypeDict should be more clear

1 participant

0