Skip to content

Fix various argument of extension modules - #13651

Merged
srittau merged 1 commit into
python:mainfrom
srittau:pos-args
Mar 18, 2025
Merged

srittau merged 1 commit into
python:mainfrom
srittau:pos-args

Conversation

@srittau

@srittau srittau commented Mar 17, 2025

Copy link
Copy Markdown
Collaborator

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.
@github-actions

Copy link
Copy Markdown
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
@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