-
Notifications
You must be signed in to change notification settings - Fork 782
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
Documents experimental-declarative-modules feature #3953
Conversation
77cbca7
to
858793c
Compare
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.
Thanks! Just a couple of small adjustments I think we can add...
|
||
An other syntax based on Rust inline modules is also available to declare modules. | ||
The `experimental-declarative-modules` feature must be enabled to use it. | ||
|
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.
Should we briefly note what might be subject to change before we call this ready? I guess mostly it is the submodule automatically going to sys.modules
and also the setting of #[pyclass(module = ....)]
.
We could also add a link to the issue.
(And I guess we thought we might change the attribute names, though I'm feeling quite happy about those.)
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.
Done: 6b31c39
BTW, sorry for my English, as you can see it's not my native language
858793c
to
6b31c39
Compare
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.
Great, thanks for getting this one done! It had been in the back of my mind too that we needed to do this before 0.21 👍
No description provided.