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

macros-backend: don't error on #[doc(hidden)] #1722

Merged
merged 1 commit into from
Jul 9, 2021

Conversation

davidhewitt
Copy link
Member

Fixes #1720

Rather than erroring on unrecognised #[doc] attributes, simply ignore them if they don't match the form #[doc = "xyz"].

@messense messense merged commit 584fc6f into PyO3:main Jul 9, 2021
@davidhewitt davidhewitt deleted the pymodule-doc-hidden branch December 24, 2021 02:03
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.

Cannot a #[pymodule] function as doc(hidden) since 0.14
2 participants