Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Sep 2, 2024
1 parent 5c5d5aa commit 7d72266
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/graphql/utilities/ast_to_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ def ast_to_dict(
) -> Any:
"""Convert a language AST to a nested Python dictionary.
Set `location` to True in order to get the locations as well.
Set `locations` to True in order to get the locations as well.
"""
"""Convert a node to a nested Python dictionary."""
if isinstance(node, Node):
if cache is None:
cache = {}
Expand Down

0 comments on commit 7d72266

Please sign in to comment.