summaryrefslogtreecommitdiffstats
path: root/Python/flowgraph.c
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2024-06-02 15:13:24 (GMT)
committerGitHub <noreply@github.com>2024-06-02 15:13:24 (GMT)
commitaa9fe98e0649f0a151942914ef4e2810ca6126c2 (patch)
treecb2cb963c3ec41b20fc2a7b9852ea9e77052fa2c /Python/flowgraph.c
parentf3b89a63cbb6d46e5ed40d5cd9813cdf9189ce35 (diff)
downloadcpython-aa9fe98e0649f0a151942914ef4e2810ca6126c2.zip
cpython-aa9fe98e0649f0a151942914ef4e2810ca6126c2.tar.gz
cpython-aa9fe98e0649f0a151942914ef4e2810ca6126c2.tar.bz2
Improve documentation for typing.get_type_hints (#119928)
- Explicit list of what it does that is different from "just return __annotations__" - Remove reference to PEP 563; adding the future import doesn't do anything to type aliases, and in general it will never make get_type_hints() less likely to fail. - Remove example, as the Annotated docs already have a similar example, and it's unbalanced to have one example about this one edge case but not about other behaviors of the function. Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Python/flowgraph.c')
0 files changed, 0 insertions, 0 deletions