Title: Setting only `*` to an empty parameter list gets a wrong error message saying "arguments" instead of "parameters" · Issue #21003 · python/mypy · GitHub
Open Graph Title: Setting only `*` to an empty parameter list gets a wrong error message saying "arguments" instead of "parameters" · Issue #21003 · python/mypy
X Title: Setting only `*` to an empty parameter list gets a wrong error message saying "arguments" instead of "parameters" · Issue #21003 · python/mypy
Description: *Notes: mypy test.py mypy 1.19.1 Python 3.15.0a6 Setting only * to an empty parameter list gets the wrong error message saying "arguments" instead of "parameters" as shown below: # ↓ def func(*): ... # Error error: Named arguments must f...
Open Graph Description: *Notes: mypy test.py mypy 1.19.1 Python 3.15.0a6 Setting only * to an empty parameter list gets the wrong error message saying "arguments" instead of "parameters" as shown below: # ↓ def func(*): ....
X Description: *Notes: mypy test.py mypy 1.19.1 Python 3.15.0a6 Setting only * to an empty parameter list gets the wrong error message saying "arguments" instead of "parameters" as shown below...
Opengraph URL: https://github.com/python/mypy/issues/21003
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Setting only `*` to an empty parameter list gets a wrong error message saying \"arguments\" instead of \"parameters\"","articleBody":"*Notes:\n- mypy test.py\n- mypy 1.19.1\n- Python 3.15.0a6 \n\nSetting only `*` to an empty parameter list gets the wrong error message saying \"arguments\" instead of \"parameters\" as shown below:\n\n```python\n # ↓\ndef func(*): ... # Error\n```\n\n\u003e error: Named arguments must follow bare *\n\nSo, the error message should say \"parameters\" instead of \"arguments\" as shown below:\n\n\u003e error: Named parameters must follow bare *","author":{"url":"https://github.com/hyperkai","@type":"Person","name":"hyperkai"},"datePublished":"2026-03-10T18:58:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/21003/mypy/issues/21003"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:026d7cf6-5512-9ba6-276e-f31da850df23 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC82:1712DC:62E38A1:819421A:6A5DBF5E |
| html-safe-nonce | 885ed909b0248b58a4b02b7c347ee7f517c39c87dc915f85b0b8a0eeee0126cd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzgyOjE3MTJEQzo2MkUzOEExOjgxOTQyMUE6NkE1REJGNUUiLCJ2aXNpdG9yX2lkIjoiNTMxOTg4ODYzMjI1NzgyMjU1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8020b449f203d455f90f67815e4447ceaa9bf85564724376bba3d8a7562d3d60 |
| hovercard-subject-tag | issue:4053625757 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/mypy/21003/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d8036194127f55df1d1b542d8297819572751c2583bde31484396a1b34ac7d37/python/mypy/issues/21003 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d8036194127f55df1d1b542d8297819572751c2583bde31484396a1b34ac7d37/python/mypy/issues/21003 |
| og:image:alt | *Notes: mypy test.py mypy 1.19.1 Python 3.15.0a6 Setting only * to an empty parameter list gets the wrong error message saying "arguments" instead of "parameters" as shown below: # ↓ def func(*): .... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hyperkai |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width