Skip to content

Commit d797621

Browse files
Apply suggestions from code review
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent 12ca4d9 commit d797621

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Objects/setobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2906,7 +2906,7 @@ static PyMethodDef frozenset_methods[] = {
29062906
SET_SYMMETRIC_DIFFERENCE_METHODDEF
29072907
SET_UNION_METHODDEF
29082908
{"__class_getitem__", Py_GenericAlias, METH_O|METH_CLASS,
2909-
PyDoc_STR("frozenets are generic over the type of their contents")},
2909+
PyDoc_STR("frozensets are generic over the type of their contents")},
29102910
{NULL, NULL} /* sentinel */
29112911
};
29122912

Objects/unionobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ union_mro_entries(PyObject *self, PyObject *args)
519519
static PyMethodDef union_methods[] = {
520520
{"__mro_entries__", union_mro_entries, METH_O},
521521
{"__class_getitem__", union_class_getitem, METH_O|METH_CLASS,
522-
PyDoc_STR("unions types support [] as part of the typing specification")},
522+
PyDoc_STR("Create a union containing the given types")},
523523
{0}
524524
};
525525

0 commit comments

Comments
 (0)