Skip to content

Document boolean item access and comments - #597

Open
user01010111 wants to merge 1 commit into
python-poetry:masterfrom
user01010111:docs/boolean-item-comments
Open

Document boolean item access and comments#597
user01010111 wants to merge 1 commit into
python-poetry:masterfrom
user01010111:docs/boolean-item-comments

Conversation

@user01010111

Copy link
Copy Markdown

Summary

Explain why dictionary access returns a Python bool and show how to read and update boolean comments through item(key) on documents and tables. The example preserves the boolean values and the untouched root comment.

Fixes #119.

Validation: the example doctest, root/nested true/false round trips and all 1,052 tests pass. The strict Sphinx dirhtml build reports the same four pre-existing register_encoder docstring diagnostics on both revisions; the new section renders correctly.

Agent Drafting Metadata

  • Agent: Codex
  • Model: GPT-6
  • Notes: Drafted and validated with Codex.

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.

Comment not parsed when value is boolean

1 participant