Skip to content

Commit 5550d0b

Browse files
committed
Minor grammar fixes in collectFields documentation
Replicates graphql/graphql-js@4f56285
1 parent 27768d3 commit 5550d0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/graphql/execution/collect_fields.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def collect_fields(
3030
) -> Dict[str, List[FieldNode]]:
3131
"""Collect fields.
3232
33-
Given a selection_set, collects all of the fields returns them at the end.
33+
Given a selection_set, collects all the fields and returns them.
3434
3535
collect_fields requires the "runtime type" of an object. For a field that
3636
returns an Interface or Union type, the "runtime type" will be the actual
@@ -54,8 +54,8 @@ def collect_sub_fields(
5454
) -> Dict[str, List[FieldNode]]:
5555
"""Collect sub fields.
5656
57-
Given a list of field nodes, collects all of the subfields of the passed
58-
in fields, and returns them at the end.
57+
Given a list of field nodes, collects all the subfields of the passed in fields,
58+
and returns them at the end.
5959
6060
collect_sub_fields requires the "return type" of an object. For a field that
6161
returns an Interface or Union type, the "return type" will be the actual

0 commit comments

Comments
 (0)