-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
gh-125350: Wrap unused argument in timemodule.c
with Py_UNUSED
#125351
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
Conversation
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Hopefully this one won't count as a cosmetic change.
Maybe not, It solves the warning. |
IMO, it's fine to mark unused params with |
This comment was marked as off-topic.
This comment was marked as off-topic.
I'm terribly sorry, but I'm changing my mind regarding this change :( This is purely a cosmetic change, and by merging it, we would send a signal that we encourage similar change. This is a signal we don't want to send, so I'm rejecting the change and closing the PR and the linked issue. Thanks for the PR, and thanks for the report, but we'll pass on this. |
timemodule
with Py_UNUSED #125350