summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Objects/weakrefobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tools/python3/Objects/weakrefobject.c')
-rw-r--r--contrib/tools/python3/Objects/weakrefobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/tools/python3/Objects/weakrefobject.c b/contrib/tools/python3/Objects/weakrefobject.c
index 61f05514a48..f45522c29a1 100644
--- a/contrib/tools/python3/Objects/weakrefobject.c
+++ b/contrib/tools/python3/Objects/weakrefobject.c
@@ -486,7 +486,8 @@ static PyMemberDef weakref_members[] = {
static PyMethodDef weakref_methods[] = {
{"__class_getitem__", Py_GenericAlias,
- METH_O|METH_CLASS, PyDoc_STR("See PEP 585")},
+ METH_O|METH_CLASS,
+ PyDoc_STR("Weakrefs are generic over the type of the referenced object.")},
{NULL} /* Sentinel */
};