Commit 010620b
gh-71549: Fix object.__json__ cross-references in the nit-picky docs build
Reset the module context around the object.__json__() and
object.__raw_json__() directives so that they are registered outside
the json namespace, like the dunders in reference/datamodel.rst, and
:meth:`~object.__json__` references from other documents resolve.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent a955cf2 commit 010620b
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
| 652 | + | |
| 653 | + | |
652 | 654 | | |
653 | 655 | | |
654 | 656 | | |
| |||
683 | 685 | | |
684 | 686 | | |
685 | 687 | | |
| 688 | + | |
| 689 | + | |
686 | 690 | | |
687 | 691 | | |
688 | 692 | | |
| |||
0 commit comments