Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7d72266

Browse files
committedSep 2, 2024··
Fix docstring
1 parent 5c5d5aa commit 7d72266

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎src/graphql/utilities/ast_to_dict.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ def ast_to_dict(
3737
) -> Any:
3838
"""Convert a language AST to a nested Python dictionary.
3939
40-
Set `location` to True in order to get the locations as well.
40+
Set `locations` to True in order to get the locations as well.
4141
"""
42-
"""Convert a node to a nested Python dictionary."""
4342
if isinstance(node, Node):
4443
if cache is None:
4544
cache = {}

0 commit comments

Comments
 (0)
Please sign in to comment.