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

Why not put __init__ function into @wrapmodule ? #361

Closed
hzhangxyz opened this issue May 14, 2023 · 2 comments
Closed

Why not put __init__ function into @wrapmodule ? #361

hzhangxyz opened this issue May 14, 2023 · 2 comments

Comments

@hzhangxyz
Copy link

No description provided.

@fingolfin
Copy link
Contributor

Maybe because a package may need to do other things in its __init__ method?

@fingolfin
Copy link
Contributor

Also I think @wrapmodule can be used multiple times to wrap multiple
C++ "modules"

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

No branches or pull requests

2 participants