Skip to content

[3.14] gh-119180: Document the format parameter in typing.get_type_hints() (GH-143758) - #148901

Merged
JelleZijlstra merged 1 commit into
python:3.14from
miss-islington:backport-8bf99ae-3.14
Apr 23, 2026
Merged

[3.14] gh-119180: Document the format parameter in typing.get_type_hints() (GH-143758)#148901
JelleZijlstra merged 1 commit into
python:3.14from
miss-islington:backport-8bf99ae-3.14

Conversation

@miss-islington

@miss-islingtonmiss-islington commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

Do not mention __annotations__ dictionaries, as this is slightly
outdated since 3.14.

Rewrite the note about possible exceptions for clarity. Also do not
mention imported type aliases, as since 3.12 aliases with the type
statement do not suffer from this limitation anymore.
(cherry picked from commit 8bf99ae)

Co-authored-by: Victorien 65306057+Viicos@users.noreply.github.com


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

…hints()` (pythonGH-143758)
Do not mention `__annotations__` dictionaries, as this is slightly
outdated since 3.14.
Rewrite the note about possible exceptions for clarity. Also do not
mention imported type aliases, as since 3.12 aliases with the `type`
statement do not suffer from this limitation anymore.
(cherry picked from commit 8bf99ae)
Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
@bedevere-appbedevere-appBot added awaiting review docs Documentation in the Doc dir labels Apr 23, 2026
@bedevere-appbedevere-appBot mentioned this pull request Apr 23, 2026
30 tasks
@JelleZijlstra
JelleZijlstra merged commit 032b1be into python:3.14Apr 23, 2026
36 of 37 checks passed
@github-project-automationgithub-project-automationBot moved this from Todo to Done in Docs PRsApr 23, 2026
@miss-islington
miss-islington deleted the backport-8bf99ae-3.14 branch April 23, 2026 02:59
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington@JelleZijlstra@Viicos