Skip to content

gh-149187: Doc: Add frozendict to functions.rst#149185

Open
oyvindronningstad wants to merge 1 commit intopython:mainfrom
oyvindronningstad:doc-frozendict-functions
Open

gh-149187: Doc: Add frozendict to functions.rst#149185
oyvindronningstad wants to merge 1 commit intopython:mainfrom
oyvindronningstad:doc-frozendict-functions

Conversation

@oyvindronningstad
Copy link
Copy Markdown

@oyvindronningstad oyvindronningstad commented Apr 30, 2026

Add frozendict to the Built-in Functions table, and add a short entry on the page, derived from the dict and frozenset entries.

Also, mention frozendict in the dict entry.

@python-cla-bot
Copy link
Copy Markdown

python-cla-bot Bot commented Apr 30, 2026

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news labels Apr 30, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Apr 30, 2026
@read-the-docs-community
Copy link
Copy Markdown

read-the-docs-community Bot commented Apr 30, 2026

Documentation build overview

📚 cpython-previews | 🛠️ Build #32509799 | 📁 Comparing 2bbe0c7 against main (7686abe)

  🔍 Preview build  

1 file changed
± library/functions.html

@oyvindronningstad oyvindronningstad changed the title Doc: Add frozendict to functions.rst gh-149187: Doc: Add frozendict to functions.rst Apr 30, 2026
Add frozendict to the Built-in Functions table, and add a short entry
on the page, derived from the dict and frozenset entries.

Also, mention frozendict in the dict entry.

Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
Copy link
Copy Markdown
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Comment thread Doc/library/functions.rst
| | :func:`dir` | | :func:`isinstance` | | | | |
| | :func:`divmod` | | :func:`issubclass` | | | | **_** |
| | | | :func:`iter` | | | | :func:`__import__` |
| | :func:`bin` | | |func-frozendict|_ | | :func:`min` | | :func:`sentinel` |
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's unfortunate that we have to make so many code changes for a single line :(

But, AFAIK there's no other way, see 29a92ab as an example.

Copy link
Copy Markdown
Author

@oyvindronningstad oyvindronningstad May 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's possible to forego the empty space before the "G:", which will give a 2-line change instead. Your call.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread Doc/library/functions.rst Outdated
Comment thread Doc/library/functions.rst Outdated
@oyvindronningstad oyvindronningstad force-pushed the doc-frozendict-functions branch from f0b8048 to 2bbe0c7 Compare May 2, 2026 15:58
@oyvindronningstad oyvindronningstad requested a review from sobolevn May 2, 2026 16:02
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.

2 participants