« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 1286 ms

Render protected Traversable methods in the reference by pick7 · Pull Request #2192 · gitpython-developers/GitPython

Source: https://github.com/gitpython-developers/GitPython/pull/2192

Repository navigation

Render protected Traversable methods in the reference - #2192


Merged
Byron merged 1 commit into gitpython-developers:main from pick7:codex/document-protected-traversal Jul 26, 2026
Merged

Render protected Traversable methods in the reference #2192 Byron merged 1 commit into gitpython-developers:main from pick7:codex/document-protected-traversal

Conversation

pick7 commented Jul 25, 2026



Copy link Copy Markdown
Contributor

Summary

  • Explicitly include Traversable's protected extension-interface methods in Sphinx autodoc output.
  • Render _get_intermediate_items, _list_traverse, and _traverse without exposing unrelated private members.

Addresses #1848 .

Validation

  • LC_ALL=C LANG=C make SPHINXBUILD=.venv/bin/sphinx-build -C doc clean html
  • Verified all three members are present in doc/build/html/reference.html.
  • git diff --check

The local docs build completed successfully with existing Python 3.14 autodoc warnings.

AI agent disclosure

This pull request was prepared and submitted by OpenAI Codex acting as an AI agent through the contributor account.

docs: render protected Traversable methods 7de9ea7

Byron commented Jul 26, 2026



Copy link Copy Markdown
Member

Thanks, let's try it!

Byron merged commit 56e3f88 into gitpython-developers : main Jul 26, 2026 48 checks passed Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

2 participants