Skip to content
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

Use Py_RETURN_NONE macro when possible #8717

Merged
merged 3 commits into from
Jan 30, 2025
Merged

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Jan 27, 2025

Cherry-picks from #8389

  1. Replaces
Py_INCREF(Py_None);
return Py_None;

with

Py_RETURN_NONE;
  1. Removes header reference to non-existent ImagingMpegDecode function.

  2. Removed unused Except.c

@radarhere radarhere merged commit e4f2a4a into python-pillow:main Jan 30, 2025
52 of 53 checks passed
@radarhere radarhere deleted the none branch January 30, 2025 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants