Skip to content

[3.14] gh-89554: Document standard type objects in types as classes (GH-150676)#153757

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-150676-3.14
Jul 15, 2026
Merged

[3.14] gh-89554: Document standard type objects in types as classes (GH-150676)#153757
serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-150676-3.14

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

gh-89554: Document standard type objects in types as classes (GH-150676)

Use the directive and the role "class" instead of "data" for classes
exposed in the types module.

(cherry picked from commit bc05544)

Backport to 3.14 omits the parts that do not apply on this branch: the Doc/whatsnew/3.15.rst changes, and the FrameLocalsProxyType / LazyImportType entries in types.rst (both 3.15-only). The remaining .. data:: -> .. class:: conversions and the howto/whatsnew cross-reference updates are applied.

Co-authored-by: Bernát Gábor gaborjbernat@gmail.com

…sses (pythonGH-150676)

Use the directive and the role "class" instead of "data" for classes
exposed in the types module.

(cherry picked from commit bc05544)
@serhiy-storchaka serhiy-storchaka merged commit c0e5e96 into python:3.14 Jul 15, 2026
36 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Jul 15, 2026
@serhiy-storchaka serhiy-storchaka deleted the backport-150676-3.14 branch July 15, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants