Skip to content

docs: show fully qualified namespace plugin keys - #2203

Open
akzarma wants to merge 1 commit into
pypa:mainfrom
akzarma:docs/pypug-namespace-plugin-keys
Open

akzarma wants to merge 1 commit into
pypa:mainfrom
akzarma:docs/pypug-namespace-plugin-keys

Conversation

@akzarma

@akzarma akzarma commented Nov 22, 2026 •

Copy link
Copy Markdown

The namespace plugin discovery example gives pkgutil.iter_modules the full namespace prefix, so the resulting dictionary uses myapp.plugins.a and myapp.plugins.b as keys. Update the displayed result to match the unchanged executable example.

Verification: executed the guide's example with two temporary local namespace plugins and compared the documented keys and values with the actual dictionary. The original keys failed the comparison; the corrected keys matched. The changed reST excerpt parsed without warnings with Docutils, and patch replay and git diff --check passed. The full Nox/Sphinx site build was not run.

AI assistance was used to prepare and verify this documentation change.


📚 Documentation preview 📚: https://python-packaging-user-guide--2203.org.readthedocs.build/en/2203/

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.

1 participant