From b729598a29c78b5a8b427bef5050964028f7a315 Mon Sep 17 00:00:00 2001 From: Nick Watts Date: Fri, 15 May 2020 18:31:36 -0400 Subject: [PATCH] Fix method name in Visitor docstring --- src/graphql/language/visitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphql/language/visitor.py b/src/graphql/language/visitor.py index 4a3653b8..4d9d4991 100644 --- a/src/graphql/language/visitor.py +++ b/src/graphql/language/visitor.py @@ -127,7 +127,7 @@ def enter(self, node, key, parent, path, ancestors): # any other value: replace this node with the returned value return - def enter(self, node, key, parent, path, ancestors): + def leave(self, node, key, parent, path, ancestors): # The return value has the following meaning: # IDLE (None) or SKIP: no action # BREAK: stop visiting altogether