commit | ab71acd67b5b09926498b8c7f855bdb28ac0ec2f | [log] [tgz] |
---|---|---|
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | Sun May 21 06:00:50 2023 -0700 |
committer | GitHub <noreply@github.com> | Sun May 21 06:00:50 2023 -0700 |
tree | 9c99a4ec345c0cbd2bf0a9ab270aea1742c87bad | |
parent | b9fcfa60244da85d8847a05e8d5e75d0a6694f90 [diff] |
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.