mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix the attribute names in the docstring of GenericAlias (GH-22594)
This commit is contained in:
parent
3f342376ab
commit
77f0a23e7a
1 changed files with 1 additions and 1 deletions
|
@ -582,7 +582,7 @@ PyTypeObject Py_GenericAliasType = {
|
|||
.tp_name = "types.GenericAlias",
|
||||
.tp_doc = "Represent a PEP 585 generic type\n"
|
||||
"\n"
|
||||
"E.g. for t = list[int], t.origin is list and t.args is (int,).",
|
||||
"E.g. for t = list[int], t.__origin__ is list and t.__args__ is (int,).",
|
||||
.tp_basicsize = sizeof(gaobject),
|
||||
.tp_dealloc = ga_dealloc,
|
||||
.tp_repr = ga_repr,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue