Repository navigation
Documentation on GenericAlias objects and __class_getitem__ could be improved #89843
Copy link
Copy link
Closed
Labels
3.10 (EOL)end of lifeend of life3.11only security fixesonly security fixes3.9 (EOL)end of lifeend of lifedocsDocumentation in the Doc dirDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Activity
The documentation on
GenericAliasobjects implies at multiple points that only container classes can implement__class_getitem__, and goes into very little detail about what it means for a non-container class to be parameterized.- added3.9 (EOL)end of lifeend of life3.10 (EOL)end of lifeend of life3.11only security fixesonly security fixes
on Oct 30, 2021 - addeddocsDocumentation in the Doc dirDocumentation in the Doc dir3.9 (EOL)end of lifeend of lifetype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error3.10 (EOL)end of lifeend of life3.11only security fixesonly security fixes
on Oct 30, 2021 - addeddocsDocumentation in the Doc dirDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
on Oct 30, 2021 This issue is related, but distinct, to previous issue https://bugs.python.org/issue42280.
- changed the title
[-]Documentation on `GenericAlias` objects could be improved[/-][+]Documentation on `GenericAlias` objects and `__class_getitem__` could be improved[/+]on Nov 3, 2021 15 remaining items
Sorry, I was too excited when PR 29335 merged and missed that. In the future, please re-open if you feel I closed an issue wrongly. Thanks!
No worries — will do!
And now I think we're really done! Thanks for all your work here @AlexWaygood.
Thanks so much to Ken, Łukasz, Jelle, Guido, and everybody else who helped review these PRs!
Metadata
Metadata
Assignees
Labels
3.10 (EOL)end of lifeend of life3.11only security fixesonly security fixes3.9 (EOL)end of lifeend of lifedocsDocumentation in the Doc dirDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
GenericAliasobjects #29335typingdocs: improve links to docs onGenericAlias/__class_getitem__#29387__getitem__and__class_getitem__in the data model. #29389typingdocs: improve links to docs onGenericAlias/__class_getitem__(GH-29387) #29399typingdocs: improve links to docs onGenericAlias/__class_getitem__(GH-29387) #29400GenericAliasobjects #29479__getitem__and__class_getitem__in the data model (GH-29389) #29619__getitem__and__class_getitem__in the data model (GH-29389) #29620GenericAliasobjects (GH-29335) #30688GenericAliasobjects (GH-29335) #30689GenericAliasobjects (GH-29479) #31743GenericAliasobjects (GH-29479) #31744Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields: