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

Fix pyproto documentation. #2578

Merged
merged 2 commits into from Aug 22, 2022
Merged

Fix pyproto documentation. #2578

merged 2 commits into from Aug 22, 2022

Conversation

mejrs
Copy link
Member

@mejrs mejrs commented Aug 21, 2022

Since #2322 this is not enabled by default.

src/lib.rs Outdated
@@ -89,6 +87,8 @@
//! - `multiple-pymethods`: Enables the use of multiple [`#[pymethods]`](macro@crate::pymethods)
//! blocks per [`#[pyclass]`](macro@crate::pyclass). This adds a dependency on the [inventory]
//! crate, which is not supported on all platforms.
//! - `pyproto`: Enables the deprecated `#[pyproto]` attribute macro. This will be removed in a
//! future release.
Copy link
Member Author

Choose a reason for hiding this comment

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

Do we want to mention a concrete version? 0.18 perhaps?

Copy link
Member

Choose a reason for hiding this comment

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

I think it's fine to say 0.18 here 👍 (I'm already planning to have a bonfire PR as soon as 0.17 is out the door xD)

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.

Thanks!

src/lib.rs Outdated
@@ -89,6 +87,8 @@
//! - `multiple-pymethods`: Enables the use of multiple [`#[pymethods]`](macro@crate::pymethods)
//! blocks per [`#[pyclass]`](macro@crate::pyclass). This adds a dependency on the [inventory]
//! crate, which is not supported on all platforms.
//! - `pyproto`: Enables the deprecated `#[pyproto]` attribute macro. This will be removed in a
//! future release.
Copy link
Member

Choose a reason for hiding this comment

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

I think it's fine to say 0.18 here 👍 (I'm already planning to have a bonfire PR as soon as 0.17 is out the door xD)

@davidhewitt davidhewitt merged commit 2a3eb43 into PyO3:main Aug 22, 2022
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.

None yet

2 participants