Skip to content

Fix various argument of extension modules #13651

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
Mar 18, 2025
Merged

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented Mar 17, 2025

These problems are flagged when running stubtest with Python 3.13.

  • Mark various positional-only arguments: These are all positional-only
    arguments in C code using the METH_O flag.
  • Remove various *args, **kwargs arguments that are using the
    METH_NOARGS flag in C.

These problems are flagged when running stubtest with Python 3.13.

* Mark various positional-only arguments: These are all positional-only
  arguments in C code using the `METH_O` flag.
* Remove various `*args, **kwargs` arguments that are using the
  `METH_NOARGS` flag in C.
Copy link
Contributor

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

@srittau srittau merged commit b93eae5 into python:main Mar 18, 2025
43 checks passed
@srittau srittau deleted the pos-args branch March 18, 2025 01:22
mmingyu pushed a commit to mmingyu/typeshed that referenced this pull request May 16, 2025
* Mark various positional-only arguments: These are all positional-only
  arguments in C code using the `METH_O` flag.
* Remove various `*args, **kwargs` arguments that are using the
  `METH_NOARGS` flag in C.
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