Skip to content

gh-157571: Move json sort note from dumps to dump - #157577

Open
MeGaurav4 wants to merge 1 commit into
python:mainfrom
MeGaurav4:fix/json-sort-note
Open

MeGaurav4 wants to merge 1 commit into
python:mainfrom
MeGaurav4:fix/json-sort-note

Conversation

@MeGaurav4

@MeGaurav4 MeGaurav4 commented Sep 15, 2026

Copy link
Copy Markdown

As noted in the issue, the sorting note oddly lives in dumps while dump is the primary documented entry point and dumps just defers to it. This moves the note block verbatim under dump's sort_keys parameter.

One block moved, no wording changes.

Closes #157571

Verification

  • Diffed both hunks: the added block is byte-identical to the removed one
  • Matched each section's existing directive indentation

Signed-off-by: MeGaurav4 <gaurav3.141592@gmail.com>
@python-cla-bot

python-cla-bot Bot commented Sep 15, 2026

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34575319 | 📁 Comparing dc3eb30 against main (82952e3)

  🔍 Preview build  

1 file changed
± library/json.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

move json sort note to dump

1 participant