Skip to content

Add Py_RETURN_TRUE and Py_RETURN_FALSE functions#5976

Closed
clin1234 wants to merge 4 commits into
PyO3:mainfrom
clin1234:patch-4
Closed

Add Py_RETURN_TRUE and Py_RETURN_FALSE functions#5976
clin1234 wants to merge 4 commits into
PyO3:mainfrom
clin1234:patch-4

Conversation

@clin1234
Copy link
Copy Markdown
Contributor

No description provided.

@alex
Copy link
Copy Markdown
Member

alex commented Apr 15, 2026

Why?

@davidhewitt
Copy link
Copy Markdown
Member

In the C API these are macros which affect control flow, I think it doesn't really make sense to attempt to replicate these here.

@clin1234
Copy link
Copy Markdown
Contributor Author

Fair enough

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.

3 participants