diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2023-05-21 13:00:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-21 13:00:50 (GMT) |
commit | ab71acd67b5b09926498b8c7f855bdb28ac0ec2f (patch) | |
tree | 9c99a4ec345c0cbd2bf0a9ab270aea1742c87bad /Lib/idlelib/autocomplete.py | |
parent | b9fcfa60244da85d8847a05e8d5e75d0a6694f90 (diff) | |
download | cpython-ab71acd67b5b09926498b8c7f855bdb28ac0ec2f.zip cpython-ab71acd67b5b09926498b8c7f855bdb28ac0ec2f.tar.gz cpython-ab71acd67b5b09926498b8c7f855bdb28ac0ec2f.tar.bz2 |
typing docs: Move some classes out of the "Generics" section (#104707)
- AnyStr can be used in type annotations, contrary to the section header
- Unpack can also be used in annotations, and its use is not restricted
to generics. It makes more sense with other building blocks like Required.
- Protocol is not necessarily generic.
Also fix the indentation for two notes associated with Concatenate.
Split off from #104642, but I think this change is independently an
improvement.
Diffstat (limited to 'Lib/idlelib/autocomplete.py')
0 files changed, 0 insertions, 0 deletions