Repository navigation
gh-150319: Replace all documentation which says "See PEP 585" #150325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
12ca4d9
d797621
3a51ab5
3f22858
33770c7
cf6e6b6
7ab7974
26600c5
a02c487
4986ead
680f16c
4bb0cbf
7b3ea53
9bb3854
4526a52
5dcee42
cc9a5cf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| Generic builtin and standard library types now document the meaning of their | ||
| type parameters. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3611,7 +3611,8 @@ static PyMethodDef list_methods[] = { | |
| LIST_COUNT_METHODDEF | ||
| LIST_REVERSE_METHODDEF | ||
| LIST_SORT_METHODDEF | ||
| {"__class_getitem__", Py_GenericAlias, METH_O|METH_CLASS, PyDoc_STR("See PEP 585")}, | ||
| {"__class_getitem__", Py_GenericAlias, METH_O|METH_CLASS, | ||
| PyDoc_STR("lists are generic over the type of their contents")}, | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't understand why we would have "lists" (lowercase) but "Interpolations" (capitalized). We should have a consistent description.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. One type is called
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't really like diverging from the exact name of the type, but I can make the change if there's a clear rule that I'd be following. I don't think capitalizing the first letter meshes well with the In the sphinx doc, there are paragraphs about I bent things a little by writing |
||
| {NULL, NULL} /* sentinel */ | ||
| }; | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.