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

PyModule: rename call* to call_function* #1467

Merged
merged 1 commit into from
Mar 4, 2021

Conversation

birkenfeld
Copy link
Member

For consistency with PyObject/PyAny, where call() means to call the object itself.

Copy link
Member

@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

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

Seems like a good idea to me. I can't think of a better name.

Needs a CHANGELOG entry please!

Copy link
Member

@kngwyu kngwyu left a comment

Choose a reason for hiding this comment

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

Thanks 👍🏼

@birkenfeld birkenfeld changed the title [RFC] PyModule: rename call* to call_function* PyModule: rename call* to call_function* Mar 4, 2021
For consistency with PyObject/PyAny, where call() means to call the
object itself.
@davidhewitt davidhewitt merged commit 74fee84 into PyO3:master Mar 4, 2021
@birkenfeld birkenfeld deleted the module_call branch May 21, 2021 17:09
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