Skip to content

gh-151070: Fix class referencing typo in collections.abc docs#151088

Open
arshalaromal wants to merge 2 commits into
python:mainfrom
arshalaromal:fix-issue-151070
Open

gh-151070: Fix class referencing typo in collections.abc docs#151088
arshalaromal wants to merge 2 commits into
python:mainfrom
arshalaromal:fix-issue-151070

Conversation

@arshalaromal
Copy link
Copy Markdown

@arshalaromal arshalaromal commented Jun 8, 2026

Fixes #151070

The documentation for collections.abc incorrectly used the :meth: role for Set and Hashable instead of the :class: role. This caused the built HTML documentation to append unintended parentheses () to these class names.

This PR updates the roles to :class: to correctly reference them as classes.

@arshalaromal arshalaromal requested a review from rhettinger as a code owner June 8, 2026 14:38
@python-cla-bot
Copy link
Copy Markdown

python-cla-bot Bot commented Jun 8, 2026

All commit authors signed the Contributor License Agreement.

CLA signed

@read-the-docs-community
Copy link
Copy Markdown

read-the-docs-community Bot commented Jun 8, 2026

Documentation build overview

📚 cpython-previews | 🛠️ Build #33042752 | 📁 Comparing e3305a8 against main (f051c68)

  🔍 Preview build  

1 file changed
± library/collections.abc.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.

It's better to use "Set" to refer to class Set than "Set()"

1 participant