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

Improve interface documentation #56

Merged
merged 2 commits into from
Dec 7, 2021
Merged

Conversation

d-maurer
Copy link
Contributor

@d-maurer d-maurer commented Dec 2, 2021

Working on zopefoundation/AccessControl#120
I found that the Python implementation of Acquisition has a bug in aq_acquire when a filter is involved. To create a failing test, I looked for documentation about filters for aq_acquire. My first choice in such a case is always the interface description but Acquisition.interfaces was not very informative.

This PR improves the interface documentation: it adds a reference to https://github.com/zopefoundation/Acquisition#readme and copies parts thereof into the interface description (slightly reworded). The intention is that reading the interface typically provides all relevant information without the need to look elsewhere.

@icemac
Copy link
Member

icemac commented Dec 7, 2021

Rebased unto master to reduce the diff to the actual changes.

@d-maurer d-maurer merged commit 2a02721 into master Dec 7, 2021
@d-maurer d-maurer deleted the fix_interface_docstring branch December 7, 2021 07:32
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

3 participants