◐ Shell
reader mode source ↗
Skip to content

gh-108494: Argument Clinic: fix option group for Limited C API#108574

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:ac_limited_option_group
Aug 29, 2023
Merged

gh-108494: Argument Clinic: fix option group for Limited C API#108574
vstinner merged 2 commits into
python:mainfrom
vstinner:ac_limited_option_group

Conversation

@vstinner

@vstinner vstinner commented Aug 28, 2023

Copy link
Copy Markdown
Member

Use PyTuple_Size() instead of PyTuple_GET_SIZE().

Use PyTuple_Size() instead of PyTuple_GET_SIZE().
@vstinner

Copy link
Copy Markdown
Member Author

Issue found while converting syslog to the limited C API.

@AlexWaygood AlexWaygood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

LGTM, other than @AA-Turner's style nit, which I agree with :)

@vstinner vstinner merged commit e675e51 into python:main Aug 29, 2023
@vstinner vstinner deleted the ac_limited_option_group branch August 29, 2023 11:33
@vstinner

Copy link
Copy Markdown
Member Author

Merged, thanks for reviews. I prefer to avoid repetition even if the f-string is just a little bit surprising.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants