Skip to content

Correct DynamicClassAttribute from function to class in types docs#144968

Open
tanloong wants to merge 3 commits into
python:mainfrom
tanloong:fix-doc-function-to-class
Open

Correct DynamicClassAttribute from function to class in types docs#144968
tanloong wants to merge 3 commits into
python:mainfrom
tanloong:fix-doc-function-to-class

Conversation

@tanloong
Copy link
Copy Markdown
Contributor

@tanloong tanloong commented Feb 18, 2026

The documentation incorrectly labeled DynamicClassAttribute as a function, which misrepresents its actual type.

As this is a documentation change, I didn't add a news entry. I will create an issue if needed.


📚 Documentation preview 📚: https://cpython-previews--144968.org.readthedocs.build/

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label May 7, 2026
@read-the-docs-community
Copy link
Copy Markdown

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

Documentation build overview

📚 cpython-previews | 🛠️ Build #32912645 | 📁 Comparing cb4f459 against main (4ae1a26)

  🔍 Preview build  

70 files changed · + 1 added · ± 69 modified

+ Added

± Modified

@github-actions github-actions Bot removed the stale Stale PR or inactive for long period of time. label May 17, 2026
@tanloong
Copy link
Copy Markdown
Contributor Author

tanloong commented May 30, 2026

I just noticed that sphinx developers once considered adding the Python objtype checking, but finally decided not to implement it, likely due to the consequent uncomfortable restriction for python developers: sphinx-doc/sphinx#7243

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

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants